public abstract class SecurityEventVisitor<P,R> extends Object
Modifier | Constructor and Description |
---|---|
protected |
SecurityEventVisitor()
Construct a security event visitor.
|
Modifier and Type | Method and Description |
---|---|
R |
handleAuthenticationEvent(SecurityAuthenticationEvent event,
P param)
Handle a security authentication event.
|
R |
handleAuthenticationFailedEvent(SecurityAuthenticationFailedEvent event,
P param)
Handle a security authentication failed event.
|
R |
handleAuthenticationSuccessfulEvent(SecurityAuthenticationSuccessfulEvent event,
P param)
Handle a security authentication successful event.
|
R |
handleDefiniteOutcomeEvent(SecurityDefiniteOutcomeEvent event,
P param)
Handle a security definite outcome event.
|
R |
handlePermissionCheckEvent(SecurityPermissionCheckEvent event,
P param)
Handle a security permission check event.
|
R |
handlePermissionCheckFailedEvent(SecurityPermissionCheckFailedEvent event,
P param)
Handle a security permission check failed event.
|
R |
handlePermissionCheckSuccessfulEvent(SecurityPermissionCheckSuccessfulEvent event,
P param)
Handle a security permission check successful event.
|
R |
handleUnknownEvent(SecurityEvent event,
P param)
Handle any unhandled security event.
|
protected SecurityEventVisitor()
public R handleUnknownEvent(SecurityEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handleDefiniteOutcomeEvent(SecurityDefiniteOutcomeEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handleAuthenticationEvent(SecurityAuthenticationEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handleAuthenticationSuccessfulEvent(SecurityAuthenticationSuccessfulEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handleAuthenticationFailedEvent(SecurityAuthenticationFailedEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handlePermissionCheckEvent(SecurityPermissionCheckEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handlePermissionCheckSuccessfulEvent(SecurityPermissionCheckSuccessfulEvent event, P param)
event
- the security eventparam
- the visitor parameterpublic R handlePermissionCheckFailedEvent(SecurityPermissionCheckFailedEvent event, P param)
event
- the security eventparam
- the visitor parameterCopyright © 2020 JBoss by Red Hat. All rights reserved.