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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
Raccept(SecurityEventVisitor<P,R> visitor, P param)Accept the given visitor, calling the method which is most applicable to this event type.org.jboss.logmanager.handlers.SyslogHandler.SyslogTypegetFormat()Gets the syslog format that is to be used for this audit event-
Methods inherited from class org.wildfly.security.auth.server.event.SecurityEvent
getInstant, getSecurityIdentity
-
-
-
-
Method Detail
-
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:
acceptin classSecurityEvent- Type Parameters:
P- the visitor parameter typeR- the visitor return type- Parameters:
visitor- the visitorparam- the parameter to pass to the visitorhandleXxxmethod- Returns:
- the value returned from the visitor
handleXxxmethod
-
-