public final class RealmSuccessfulAuthenticationEvent extends RealmDefiniteOutcomeAuthenticationEvent
Constructor and Description |
---|
RealmSuccessfulAuthenticationEvent(RealmIdentity realmIdentity,
AuthorizationIdentity authorizationIdentity,
Credential credential,
Evidence evidence)
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.
|
AuthorizationIdentity |
getAuthorizationIdentity()
Get the authorization identity.
|
boolean |
isSuccess()
Determine if this authentication was definitely successful.
|
getCredential, getEvidence, isFailure
getRealmIdentity
public RealmSuccessfulAuthenticationEvent(RealmIdentity realmIdentity, AuthorizationIdentity authorizationIdentity, Credential credential, Evidence evidence)
realmIdentity
- the realm identity that successfully authenticatedauthorizationIdentity
- the authenticated authorization identitycredential
- the actual credential value from the authentication (may be null
if not known)evidence
- the evidence used to authenticate (may be null
if not known or not applicable)public AuthorizationIdentity getAuthorizationIdentity()
public <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
RealmEvent
accept
in class RealmDefiniteOutcomeAuthenticationEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodpublic boolean isSuccess()
RealmAuthenticationEvent
isSuccess
in class RealmAuthenticationEvent
true
if the authentication was definitely successful, false
if it was not definitely
successfulCopyright © 2019 JBoss by Red Hat. All rights reserved.