public abstract class RealmAuthenticationEvent extends RealmEvent
Modifier | Constructor and Description |
---|---|
protected |
RealmAuthenticationEvent(RealmIdentity realmIdentity)
Construct a new instance.
|
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.
|
RealmIdentity |
getRealmIdentity()
Get the realm identity.
|
abstract boolean |
isFailure()
Determine if this authentication definitely failed.
|
abstract boolean |
isSuccess()
Determine if this authentication was definitely successful.
|
protected RealmAuthenticationEvent(RealmIdentity realmIdentity)
realmIdentity
- the realm identity of the authentication eventpublic final RealmIdentity getRealmIdentity()
public <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
RealmEvent
accept
in class RealmEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodpublic abstract boolean isSuccess()
true
if the authentication was definitely successful, false
if it was not definitely
successfulpublic abstract boolean isFailure()
true
if the authentication definitely failed, false
if it did not definitely
failCopyright © 2019 JBoss by Red Hat. All rights reserved.