Class SyslogAuditEvent

java.lang.Object
org.wildfly.security.auth.server.event.SecurityEvent
org.wildfly.security.auth.server.event.SyslogAuditEvent
Direct Known Subclasses:
Rfc3164SyslogEvent, Rfc5424SyslogEvent

public abstract class SyslogAuditEvent extends SecurityEvent
An abstract class to be extended by specific syslog audit events to be handled.
Author:
Justin Cook
  • Method Details

    • getFormat

      public org.jboss.logmanager.handlers.SyslogHandler.SyslogType getFormat()
      Gets the syslog format that is to be used for this audit event
      Returns:
      The syslog format
    • accept

      public <P, R> R accept(SecurityEventVisitor<P,R> visitor, P param)
      Accept the given visitor, calling the method which is most applicable to this event type.
      Overrides:
      accept in class SecurityEvent
      Type Parameters:
      P - the visitor parameter type
      R - the visitor return type
      Parameters:
      visitor - the visitor
      param - the parameter to pass to the visitor handleXxx method
      Returns:
      the value returned from the visitor handleXxx method