code: protected void logSecurityEvent(final Logger logger, final Marker marker, final String message) {
          if (!(SecurityMarkers.SECURITY_AUDIT == marker ||
                SecurityMarkers.SECURITY_SUCCESS == marker ||
                SecurityMarkers.SECURITY_FAILURE == marker)) {
              return;
          }
          final StringBuilder sb = new StringBuilder();
          sb.append(message).append(" ");
          if (getPrincipal() != null) {
              sb.append("by: ").append(getPrincipal().getName()).append(" ");
          }
          sb.append("/ IP Address: ").append(getRemoteAddress()).append(" ");
          sb.append("/ User Agent: ").append(getUserAgent());
          logger.info(marker, sb.toString());
      }
docs: Logs a security event to the security audit log. Expects one of:
  {@link SecurityMarkers#SECURITY_AUDIT}
  {@link SecurityMarkers#SECURITY_SUCCESS}
  {@link SecurityMarkers#SECURITY_FAILURE}
  @param logger the logger to use
  @param marker the marker to add to the event
  @param message the initial content of the event
  @since 1.0.0