public final class RealmFailedAuthenticationEvent extends RealmDefiniteOutcomeAuthenticationEvent
Constructor and Description |
---|
RealmFailedAuthenticationEvent(RealmIdentity realmIdentity,
Credential credential,
Evidence evidence)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
<P,R> R |
accept(RealmEventVisitor<P,R> visitor,
P param)
Accept the given visitor, calling the method which is most applicable to this event type.
|
boolean |
isSuccess()
Determine if this authentication was definitely successful.
|
getCredential, getEvidence, isFailure
getRealmIdentity
public RealmFailedAuthenticationEvent(RealmIdentity realmIdentity, Credential credential, Evidence evidence)
realmIdentity
- the realm identity of the failed authenticationcredential
- the actual credential value from the authentication (may be null
if not known)evidence
- the evidence used to authenticate (may be null
if not known or not applicable)public <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
RealmEvent
accept
in class RealmDefiniteOutcomeAuthenticationEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodpublic boolean isSuccess()
RealmAuthenticationEvent
isSuccess
in class RealmAuthenticationEvent
true
if the authentication was definitely successful, false
if it was not definitely
successfulCopyright © 2019 JBoss by Red Hat. All rights reserved.