
public final class RealmIdentitySuccessfulAuthorizationEvent extends RealmIdentityAuthorizationEvent
| Constructor and Description |
|---|
RealmIdentitySuccessfulAuthorizationEvent(AuthorizationIdentity authorizationIdentity,
Principal principal,
Principal newPrincipal)
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.
|
boolean |
isAuthorized()
Determine if this authorization was successful.
|
getNewPrincipalgetAuthorizationIdentity, getPrincipalpublic RealmIdentitySuccessfulAuthorizationEvent(AuthorizationIdentity authorizationIdentity, Principal principal, Principal newPrincipal)
authorizationIdentity - the identity of the authorizing partyprincipal - the authorization principalnewPrincipal - the authorized-as principalpublic <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
RealmEventaccept in class RealmIdentityAuthorizationEventP - the visitor parameter typeR - the visitor return typevisitor - the visitorparam - the parameter to pass to the visitor handleXxx methodhandleXxx methodpublic boolean isAuthorized()
RealmAuthorizationEventisAuthorized in class RealmAuthorizationEventtrue if the authentication was successful, false if it failedCopyright © 2020 JBoss by Red Hat. All rights reserved.