Enum CredentialRemovalConflict

java.lang.Object
java.lang.Enum<CredentialRemovalConflict>
io.jans.casa.credential.CredentialRemovalConflict
All Implemented Interfaces:
Serializable, Comparable<CredentialRemovalConflict>, java.lang.constant.Constable

public enum CredentialRemovalConflict extends Enum<CredentialRemovalConflict>
Enumerates possible hypothetical scenarios that would arise in case a user's credential is dropped.
  • Enum Constant Details

    • CREDS2FA_NUMBER_UNDERFLOW

      public static final CredentialRemovalConflict CREDS2FA_NUMBER_UNDERFLOW
      It represents the case under which a removal would violate the constraint of having a minimum number of credentials enrolled so 2FA can take place.
    • REQUISITE_NOT_FULFILED

      public static final CredentialRemovalConflict REQUISITE_NOT_FULFILED
      It represents the case under which a removal would violate the constraint of having at least one credential belonging to certain types (as when using 2fa_requisite in custom scripts, see the "About 2FA" page in Casa administration guide.
  • Method Details

    • values

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

      public static CredentialRemovalConflict valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null