public abstract class SecurityPermissionCheckEvent extends SecurityDefiniteOutcomeEvent
Constructor and Description |
---|
SecurityPermissionCheckEvent(SecurityIdentity securityIdentity,
Permission permission,
boolean successful)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
<P,R> R |
accept(SecurityEventVisitor<P,R> visitor,
P param)
Accept the given visitor, calling the method which is most applicable to this event type.
|
Permission |
getPermission()
Obtain the
Permission this event related to. |
isSuccessful
getInstant, getSecurityIdentity
public SecurityPermissionCheckEvent(SecurityIdentity securityIdentity, Permission permission, boolean successful)
securityIdentity
- the SecurityIdentity
the permission check was against.successful
- was the permission check successful.permission
- the Permission
that was checked.public Permission getPermission()
Permission
this event related to.Permission
this event related to.public <P,R> R accept(SecurityEventVisitor<P,R> visitor, P param)
SecurityEvent
accept
in class SecurityEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodCopyright © 2019 JBoss by Red Hat. All rights reserved.