Interface AuditEvent

    • Field Detail

      • SECURITY_TYPE_PREFIX

        static final String SECURITY_TYPE_PREFIX
        Reserved event type prefix for security component.
        See Also:
        Constant Field Values
      • AUTHN_TYPE_PREFIX

        static final String AUTHN_TYPE_PREFIX
        Reserved event type prefix for authentication events. You may trigger such audit events (e.g. when writing an authentication provider, or from app), yet they MUST be related to authentication.
        See Also:
        Constant Field Values
      • AUTHZ_TYPE_PREFIX

        static final String AUTHZ_TYPE_PREFIX
        Reserved event type prefix for authorization events. You may trigger such audit events (e.g. when writing an authorization provider, or from app), yet they MUST be related to authorization.
        See Also:
        Constant Field Values
      • OUTBOUND_TYPE_PREFIX

        static final String OUTBOUND_TYPE_PREFIX
        Reserved event type prefix for outbound security (such as identity propagation) events. You may trigger such audit events (e.g. when writing an identity propagation provider, or from app), yet they MUST be related to identity propagation.
        See Also:
        Constant Field Values
      • AUDIT_TYPE_PREFIX

        static final String AUDIT_TYPE_PREFIX
        Reserved event type prefix for audit events. You may trigger such events ONLY when writing audit providers.
        See Also:
        Constant Field Values
    • Method Detail

      • eventType

        String eventType()
        Gets the type of this AuditEvent.
        Returns:
        the type of this AuditEvent represented as String.
      • throwable

        Optional<Throwable> throwable()
        Gets an Throwable object from which additional audit information can be obtained.
        Returns:
        an Throwable with additional information if available.
      • messageFormat

        String messageFormat()
        Gets the message format of this AuditEvent to be used with String.format(String, Object...).
        Returns:
        English message format (this is a fallback if internationalization is not configured).