
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()
Gets the principal used to the failed authentication.
|
isSuccessfulgetInstant, getSecurityIdentitypublic SecurityAuthenticationFailedEvent(SecurityIdentity securityIdentity, Principal principal)
securityIdentity - the SecurityIdentity that failed authentication (null when identity does not exists)principal - the principal used to that failed authentication (filled event if identity does not exists)public Principal getPrincipal()
public <P,R> R accept(SecurityEventVisitor<P,R> visitor, P param)
SecurityEventaccept in class SecurityAuthenticationEventP - the visitor parameter typeR - the visitor return typevisitor - the visitorparam - the parameter to pass to the visitor handleXxx methodhandleXxx methodCopyright © 2020 JBoss by Red Hat. All rights reserved.