Enum Class CredentialAuditEvents

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

public enum CredentialAuditEvents extends Enum<CredentialAuditEvents>
Constants for all audit event types produced for credentials monitoring.
Author:
Martin Lindström
  • Enum Constant Details

    • CREDENTIAL_AUDIT_TEST_ERROR

      public static final CredentialAuditEvents CREDENTIAL_AUDIT_TEST_ERROR
      A test of a monitored credential failed.
    • CREDENTIAL_AUDIT_RELOAD_SUCCESS

      public static final CredentialAuditEvents CREDENTIAL_AUDIT_RELOAD_SUCCESS
      A credential test failed, but the reload of the same credential was successful.
    • CREDENTIAL_AUDIT_RELOAD_ERROR

      public static final CredentialAuditEvents CREDENTIAL_AUDIT_RELOAD_ERROR
      A credential test failed, and later when the credential was reloaded, this also failed.
  • Method Details

    • values

      public static CredentialAuditEvents[] 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 CredentialAuditEvents 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