Class SyslogAuditEvent

    • Field Detail

      • format

        private org.jboss.logmanager.handlers.SyslogHandler.SyslogType format
    • Constructor Detail

      • SyslogAuditEvent

        SyslogAuditEvent​(SecurityIdentity securityIdentity,
                         org.jboss.logmanager.handlers.SyslogHandler.SyslogType format)
        Constructor for a new instance.
        Parameters:
        securityIdentity - the SecurityIdentity that corresponds to this event that is to be logged
        format - The syslog format that is to be used for this event
    • Method Detail

      • getFormat

        public org.jboss.logmanager.handlers.SyslogHandler.SyslogType getFormat()
        Gets the syslog format that is to be used for this audit event
        Returns:
        The syslog format
      • accept

        public <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.
        Overrides:
        accept in class SecurityEvent
        Type Parameters:
        P - the visitor parameter type
        R - the visitor return type
        Parameters:
        visitor - the visitor
        param - the parameter to pass to the visitor handleXxx method
        Returns:
        the value returned from the visitor handleXxx method