Package io.jans.casa.credential
Enum CredentialRemovalConflict
- All Implemented Interfaces:
Serializable,Comparable<CredentialRemovalConflict>,java.lang.constant.Constable
Enumerates possible hypothetical scenarios that would arise in case a user's credential is dropped.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIt represents the case under which a removal would violate the constraint of having a minimum number of credentials enrolled so 2FA can take place.It represents the case under which a removal would violate the constraint of having at least one credential belonging to certain types (as when using2fa_requisitein custom scripts, see the "About 2FA" page in Casa administration guide. -
Method Summary
Modifier and TypeMethodDescriptionstatic CredentialRemovalConflictReturns the enum constant of this type with the specified name.static CredentialRemovalConflict[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
It represents the case under which a removal would violate the constraint of having at least one credential belonging to certain types (as when using2fa_requisitein custom scripts, see the "About 2FA" page in Casa administration guide.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-