Class SecurityEventVisitor<P,​R>

    • Constructor Detail

      • SecurityEventVisitor

        protected SecurityEventVisitor()
        Construct a security event visitor.
    • Method Detail

      • handleUnknownEvent

        public R handleUnknownEvent​(SecurityEvent event,
                                    P param)
        Handle any unhandled security event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handleDefiniteOutcomeEvent

        public R handleDefiniteOutcomeEvent​(SecurityDefiniteOutcomeEvent event,
                                            P param)
        Handle a security definite outcome event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handleAuthenticationEvent

        public R handleAuthenticationEvent​(SecurityAuthenticationEvent event,
                                           P param)
        Handle a security authentication event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handleAuthenticationSuccessfulEvent

        public R handleAuthenticationSuccessfulEvent​(SecurityAuthenticationSuccessfulEvent event,
                                                     P param)
        Handle a security authentication successful event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handleAuthenticationFailedEvent

        public R handleAuthenticationFailedEvent​(SecurityAuthenticationFailedEvent event,
                                                 P param)
        Handle a security authentication failed event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handlePermissionCheckEvent

        public R handlePermissionCheckEvent​(SecurityPermissionCheckEvent event,
                                            P param)
        Handle a security permission check event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handlePermissionCheckSuccessfulEvent

        public R handlePermissionCheckSuccessfulEvent​(SecurityPermissionCheckSuccessfulEvent event,
                                                      P param)
        Handle a security permission check successful event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handlePermissionCheckFailedEvent

        public R handlePermissionCheckFailedEvent​(SecurityPermissionCheckFailedEvent event,
                                                  P param)
        Handle a security permission check failed event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handleSyslogAuditEvent

        public R handleSyslogAuditEvent​(SyslogAuditEvent event,
                                        P param)
        Handle an auditable event that is to be logged to syslog.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value
      • handleRealmUnavailableEvent

        public R handleRealmUnavailableEvent​(SecurityRealmUnavailableEvent event,
                                             P param)
        Handle a security realm unavailable event.
        Parameters:
        event - the security event
        param - the visitor parameter
        Returns:
        the visitor return value