public final class SecurityPermissionCheckSuccessfulEvent extends SecurityPermissionCheckEvent
Constructor and Description |
---|
SecurityPermissionCheckSuccessfulEvent(SecurityIdentity securityIdentity,
Permission permission)
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.
|
getPermission
isSuccessful
getInstant, getSecurityIdentity
public SecurityPermissionCheckSuccessfulEvent(SecurityIdentity securityIdentity, Permission permission)
securityIdentity
- the SecurityIdentity
the permisson check was against.permission
- the Permission
that was checked.public <P,R> R accept(SecurityEventVisitor<P,R> visitor, P param)
SecurityEvent
accept
in class SecurityPermissionCheckEvent
P
- the visitor parameter typeR
- the visitor return typevisitor
- the visitorparam
- the parameter to pass to the visitor handleXxx
methodhandleXxx
methodCopyright © 2021 JBoss by Red Hat. All rights reserved.