Class SecurityPermissionCheckFailedEvent

    • Constructor Detail

      • SecurityPermissionCheckFailedEvent

        public SecurityPermissionCheckFailedEvent​(SecurityIdentity securityIdentity,
                                                  Permission permission)
        Construct a new instance.
        securityIdentity - the SecurityIdentity the permisson check was against.
        permission - the Permission that was checked.
    • Method Detail

      • accept

        public <P,​R> R accept​(SecurityEventVisitor<P,​R> visitor,
                                    P param)
        Description copied from class: SecurityEvent
        Accept the given visitor, calling the method which is most applicable to this event type.
        accept in class SecurityPermissionCheckEvent
        Type Parameters:
        P - the visitor parameter type
        R - the visitor return type
        visitor - the visitor
        param - the parameter to pass to the visitor handleXxx method
        the value returned from the visitor handleXxx method