Enum Class Saml2AuditEvents

java.lang.Object
java.lang.Enum<Saml2AuditEvents>
se.swedenconnect.spring.saml.idp.audit.Saml2AuditEvents
All Implemented Interfaces:
Serializable, Comparable<Saml2AuditEvents>, Constable

public enum Saml2AuditEvents extends Enum<Saml2AuditEvents>
Constants for all audit event types produced by the SAML IdP.
Author:
Martin Lindström
  • Enum Constant Details

    • SAML2_AUDIT_REQUEST_RECEIVED

      public static final Saml2AuditEvents SAML2_AUDIT_REQUEST_RECEIVED
      An AuthnRequest message has been received.
    • SAML2_AUDIT_SUCCESSFUL_RESPONSE

      public static final Saml2AuditEvents SAML2_AUDIT_SUCCESSFUL_RESPONSE
      A successful SAML response is about to be sent.
    • SAML2_AUDIT_ERROR_RESPONSE

      public static final Saml2AuditEvents SAML2_AUDIT_ERROR_RESPONSE
      An error SAML response is about to be sent.
    • SAML2_AUDIT_BEFORE_USER_AUTHN

      public static final Saml2AuditEvents SAML2_AUDIT_BEFORE_USER_AUTHN
      A request has been received and successfully processed, but the user has not yet been authenticated.
    • SAML2_AUDIT_AFTER_USER_AUTHN

      public static final Saml2AuditEvents SAML2_AUDIT_AFTER_USER_AUTHN
      The user has been successfully authenticated, but the SAML assertion has not yet been created.
    • SAML2_AUDIT_UNRECOVERABLE_ERROR

      public static final Saml2AuditEvents SAML2_AUDIT_UNRECOVERABLE_ERROR
      An error occurred, and we could not direct the user back to the SP.
  • Method Details

    • values

      public static Saml2AuditEvents[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Saml2AuditEvents valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTypeName

      public String getTypeName()
      Gets the event type name.
      Returns:
      the event type name