Enum Class LocalCredentialState

java.lang.Object
java.lang.Enum<LocalCredentialState>
pl.edu.icm.unity.types.authn.LocalCredentialState
All Implemented Interfaces:
Serializable, Comparable<LocalCredentialState>, Constable

public enum LocalCredentialState extends Enum<LocalCredentialState>
State of the local credential initialization for an entity. This is pertaining to a single credential - entity might have more then one.
Author:
K. Benedyczak
  • Enum Constant Details

    • correct

      public static final LocalCredentialState correct
      the credential is fine
    • notSet

      public static final LocalCredentialState notSet
      the credential is not defined
    • outdated

      public static final LocalCredentialState outdated
      the credential is defined but is invalid. E.g. it is not fulfilling the new restrictions or is outdated.
  • Method Details

    • values

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