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
public abstract class RealmDefiniteOutcomeAuthenticationEvent extends RealmAuthenticationEvent
An authentication event with a definite outcome.- Author:
 - David M. Lloyd
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
Raccept(RealmEventVisitor<P,R> visitor, P param)Accept the given visitor, calling the method which is most applicable to this event type.CredentialgetCredential()Get the actual credential used.EvidencegetEvidence()Get the actual credential guess used.booleanisFailure()Determine if this authentication definitely failed.- 
Methods inherited from class org.wildfly.security.auth.server.event.RealmAuthenticationEvent
getRealmIdentity, isSuccess 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getCredential
public Credential getCredential()
Get the actual credential used.- Returns:
 - the actual credential used, or 
nullif it is not known or none was used 
 
- 
getEvidence
public Evidence 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
public <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
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
 
 - 
 
 -