public abstract class RealmDefiniteOutcomeAuthenticationEvent extends RealmAuthenticationEvent
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.
|
Credential |
getCredential()
Get the actual credential used.
|
Evidence |
getEvidence()
Get the actual credential guess used.
|
boolean |
isFailure()
Determine if this authentication definitely failed.
|
getRealmIdentity, isSuccess
public Credential getCredential()
null
if it is not known or none was usedpublic Evidence getEvidence()
null
if there was no guess, it is not known, or no credential was usedpublic <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
RealmEvent
accept
in class RealmAuthenticationEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodpublic final boolean isFailure()
RealmAuthenticationEvent
isFailure
in class RealmAuthenticationEvent
true
if the authentication definitely failed, false
if it did not definitely
failCopyright © 2021 JBoss by Red Hat. All rights reserved.