
public abstract class RealmIdentityAuthorizationEvent extends RealmAuthorizationEvent
| Modifier | Constructor and Description |
|---|---|
protected |
RealmIdentityAuthorizationEvent(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.
|
Principal |
getNewPrincipal()
Get the principal to which the existing identity is being authorized to act.
|
getAuthorizationIdentity, getPrincipal, isAuthorizedprotected RealmIdentityAuthorizationEvent(AuthorizationIdentity authorizationIdentity, Principal principal, Principal newPrincipal)
authorizationIdentity - the identity of the authorizing partyprincipal - the authorization principalnewPrincipal - the authorize-as principalpublic Principal getNewPrincipal()
public <P,R> R accept(RealmEventVisitor<P,R> visitor, P param)
RealmEventaccept in class RealmAuthorizationEventP - the visitor parameter typeR - the visitor return typevisitor - the visitorparam - the parameter to pass to the visitor handleXxx methodhandleXxx methodCopyright © 2020 JBoss by Red Hat. All rights reserved.