Package org.wildfly.security.audit
Class SimpleSecurityEventFormatter
java.lang.Object
org.wildfly.security.auth.server.event.SecurityEventVisitor<Void,String>
org.wildfly.security.audit.SimpleSecurityEventFormatter
A formatter for security events that converts events into human-readable strings.
- Author:
- Darran Lofthouse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for simple security event formatter. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new builder.Handle a security authentication failed event.handleDefiniteOutcomeEvent(SecurityDefiniteOutcomeEvent event, Void param) Handle a security definite outcome event.handlePermissionCheckEvent(SecurityPermissionCheckEvent event, Void param) Handle a security permission check event.handleRealmUnavailableEvent(SecurityRealmUnavailableEvent event, Void param) Handle a security realm unavailable event.handleSyslogAuditEvent(SyslogAuditEvent event, Void param) Handle an auditable event that is to be logged to syslog.handleUnknownEvent(SecurityEvent event, Void param) Handle any unhandled security event.Methods inherited from class org.wildfly.security.auth.server.event.SecurityEventVisitor
handleAuthenticationEvent, handleAuthenticationSuccessfulEvent, handlePermissionCheckFailedEvent, handlePermissionCheckSuccessfulEvent
-
Method Details
-
handleUnknownEvent
Description copied from class:SecurityEventVisitorHandle any unhandled security event.- Overrides:
handleUnknownEventin classSecurityEventVisitor<Void,String> - Parameters:
event- the security eventparam- the visitor parameter- Returns:
- the visitor return value
-
handleDefiniteOutcomeEvent
Description copied from class:SecurityEventVisitorHandle a security definite outcome event.- Overrides:
handleDefiniteOutcomeEventin classSecurityEventVisitor<Void,String> - Parameters:
event- the security eventparam- the visitor parameter- Returns:
- the visitor return value
-
handleAuthenticationFailedEvent
Description copied from class:SecurityEventVisitorHandle a security authentication failed event.- Overrides:
handleAuthenticationFailedEventin classSecurityEventVisitor<Void,String> - Parameters:
event- the security eventparam- the visitor parameter- Returns:
- the visitor return value
-
handlePermissionCheckEvent
Description copied from class:SecurityEventVisitorHandle a security permission check event.- Overrides:
handlePermissionCheckEventin classSecurityEventVisitor<Void,String> - Parameters:
event- the security eventparam- the visitor parameter- Returns:
- the visitor return value
-
handleSyslogAuditEvent
Description copied from class:SecurityEventVisitorHandle an auditable event that is to be logged to syslog.- Overrides:
handleSyslogAuditEventin classSecurityEventVisitor<Void,String> - Parameters:
event- the security eventparam- the visitor parameter- Returns:
- the visitor return value
-
builder
Create a new builder.- Returns:
- a new builder
-