Enum Class MfaStatus
- All Implemented Interfaces:
Serializable
,Comparable<MfaStatus>
,Constable
Current status of MFA authentication for logged-in user.
Used internally by
MfaStore
and MFA related filters and servlets- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMFA is disabled in system or for current userMFA is enabled but is not configured for current user.MFA is enabled and configured but user didn't pass it yet.MFA passed for current user, so user can access system. -
Method Summary
-
Enum Constant Details
-
MFA_DISABLED
MFA is disabled in system or for current user -
MFA_NOT_PASSED
MFA is enabled and configured but user didn't pass it yet. -
MFA_NEED_TO_BE_CONFIGURED
MFA is enabled but is not configured for current user. User need to configure at least one method. -
MFA_PASSED
MFA passed for current user, so user can access system.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-