Class RealmAuthenticationEvent
- java.lang.Object
- 
- org.wildfly.security.auth.server.event.RealmEvent
- 
- org.wildfly.security.auth.server.event.RealmAuthenticationEvent
 
 
- 
- Direct Known Subclasses:
- RealmAbandonedAuthenticationEvent,- RealmDefiniteOutcomeAuthenticationEvent
 
 public abstract class RealmAuthenticationEvent extends RealmEvent A realm authentication event. The realm identity may be destroyed at some point after the event is handled.- Author:
- David M. Lloyd
 
- 
- 
Field SummaryFields Modifier and Type Field Description private RealmIdentityrealmIdentity
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedRealmAuthenticationEvent(RealmIdentity realmIdentity)Construct a new instance.
 - 
Method SummaryAll Methods Instance Methods Abstract 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.RealmIdentitygetRealmIdentity()Get the realm identity.abstract booleanisFailure()Determine if this authentication definitely failed.abstract booleanisSuccess()Determine if this authentication was definitely successful.
 
- 
- 
- 
Field Detail- 
realmIdentityprivate final RealmIdentity realmIdentity 
 
- 
 - 
Constructor Detail- 
RealmAuthenticationEventprotected RealmAuthenticationEvent(RealmIdentity realmIdentity) Construct a new instance.- Parameters:
- realmIdentity- the realm identity of the authentication event
 
 
- 
 - 
Method Detail- 
getRealmIdentitypublic final RealmIdentity getRealmIdentity() Get the realm identity.- Returns:
- the realm identity
 
 - 
acceptpublic <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 class- RealmEvent
- Type Parameters:
- P- the visitor parameter type
- R- the visitor return type
- Parameters:
- visitor- the visitor
- param- the parameter to pass to the visitor- handleXxxmethod
- Returns:
- the value returned from the visitor handleXxxmethod
 
 - 
isSuccesspublic abstract boolean isSuccess() Determine if this authentication was definitely successful.- Returns:
- trueif the authentication was definitely successful,- falseif it was not definitely successful
 
 - 
isFailurepublic abstract boolean isFailure() Determine if this authentication definitely failed.- Returns:
- trueif the authentication definitely failed,- falseif it did not definitely fail
 
 
- 
 
-