Class RealmAbandonedAuthenticationEvent
- java.lang.Object
-
- org.wildfly.security.auth.server.event.RealmEvent
-
- org.wildfly.security.auth.server.event.RealmAuthenticationEvent
-
- org.wildfly.security.auth.server.event.RealmAbandonedAuthenticationEvent
-
public final class RealmAbandonedAuthenticationEvent extends RealmAuthenticationEvent
An event indicating that authentication was abandoned before it could complete.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description RealmAbandonedAuthenticationEvent(RealmIdentity realmIdentity)
Construct a new instance.
-
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.boolean
isFailure()
Determine if this authentication definitely failed.boolean
isSuccess()
Determine if this authentication was definitely successful.-
Methods inherited from class org.wildfly.security.auth.server.event.RealmAuthenticationEvent
getRealmIdentity
-
-
-
-
Constructor Detail
-
RealmAbandonedAuthenticationEvent
public RealmAbandonedAuthenticationEvent(RealmIdentity realmIdentity)
Construct a new instance.- Parameters:
realmIdentity
- the realm identity of the authentication event
-
-
Method Detail
-
accept
public <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
Description copied from class:RealmEvent
Accept the given visitor, calling the method which is most applicable to this event type.- Overrides:
accept
in classRealmAuthenticationEvent
- Type Parameters:
P
- the visitor parameter typeR
- the visitor return type- Parameters:
visitor
- the visitorparam
- the parameter to pass to the visitorhandleXxx
method- Returns:
- the value returned from the visitor
handleXxx
method
-
isSuccess
public boolean isSuccess()
Description copied from class:RealmAuthenticationEvent
Determine if this authentication was definitely successful.- Specified by:
isSuccess
in classRealmAuthenticationEvent
- Returns:
true
if the authentication was definitely successful,false
if it was not definitely successful
-
isFailure
public boolean isFailure()
Description copied from class:RealmAuthenticationEvent
Determine if this authentication definitely failed.- Specified by:
isFailure
in classRealmAuthenticationEvent
- Returns:
true
if the authentication definitely failed,false
if it did not definitely fail
-
-