Class RealmDefiniteOutcomeAuthenticationEvent
java.lang.Object
org.wildfly.security.auth.server.event.RealmEvent
org.wildfly.security.auth.server.event.RealmAuthenticationEvent
org.wildfly.security.auth.server.event.RealmDefiniteOutcomeAuthenticationEvent
- Direct Known Subclasses:
RealmFailedAuthenticationEvent,RealmSuccessfulAuthenticationEvent
An authentication event with a definite outcome.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescription<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.Get the actual credential used.Get the actual credential guess used.final booleanDetermine if this authentication definitely failed.Methods inherited from class org.wildfly.security.auth.server.event.RealmAuthenticationEvent
getRealmIdentity, isSuccess
-
Method Details
-
getCredential
Get the actual credential used.- Returns:
- the actual credential used, or
nullif it is not known or none was used
-
getEvidence
Get the actual credential guess used.- Returns:
- the actual credential guess used, or
nullif there was no guess, it is not known, or no credential was used
-
accept
Description copied from class:RealmEventAccept the given visitor, calling the method which is most applicable to this event type.- Overrides:
acceptin classRealmAuthenticationEvent- Type Parameters:
P- the visitor parameter typeR- the visitor return type- Parameters:
visitor- the visitorparam- the parameter to pass to the visitorhandleXxxmethod- Returns:
- the value returned from the visitor
handleXxxmethod
-
isFailure
public final boolean isFailure()Description copied from class:RealmAuthenticationEventDetermine if this authentication definitely failed.- Specified by:
isFailurein classRealmAuthenticationEvent- Returns:
trueif the authentication definitely failed,falseif it did not definitely fail
-