public final class SecurityAuthenticationFailedEvent extends SecurityAuthenticationEvent
Constructor and Description |
---|
SecurityAuthenticationFailedEvent(SecurityIdentity securityIdentity,
Principal principal)
Constructor for a new instance.
|
Modifier and Type | Method and Description |
---|---|
<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.
|
Principal |
getPrincipal() |
isSuccessful
getInstant, getSecurityIdentity
public SecurityAuthenticationFailedEvent(SecurityIdentity securityIdentity, Principal principal)
securityIdentity
- the SecurityIdentity
that failed authentication.public Principal getPrincipal()
public <P,R> R accept(SecurityEventVisitor<P,R> visitor, P param)
SecurityEvent
accept
in class SecurityAuthenticationEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodCopyright © 2017 JBoss by Red Hat. All rights reserved.