Package de.xima.fc.user.access
Enum MfaStatus
- java.lang.Object
-
- java.lang.Enum<MfaStatus>
-
- de.xima.fc.user.access.MfaStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MfaStatus>
public enum MfaStatus extends Enum<MfaStatus>
Multi-factor authentication status of a user.- Since:
- 8.5.6
- Author:
- Norman Lorenz
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDMulti-factor authentication applies and was already completed in the current session.NOT_REQUIREDMulti-factor authentication is neither enforced by the system nor activated by the user.REMEMBEREDMulti-factor authentication applies, but a previous authentication is still remembered.REQUIREDMulti-factor authentication applies and has to be completed now.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MfaStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static MfaStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REQUIRED
public static final MfaStatus NOT_REQUIRED
Multi-factor authentication is neither enforced by the system nor activated by the user.
-
REMEMBERED
public static final MfaStatus REMEMBERED
Multi-factor authentication applies, but a previous authentication is still remembered.
-
COMPLETED
public static final MfaStatus COMPLETED
Multi-factor authentication applies and was already completed in the current session.
-
REQUIRED
public static final MfaStatus REQUIRED
Multi-factor authentication applies and has to be completed now.
-
-
Method Detail
-
values
public static MfaStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MfaStatus c : MfaStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MfaStatus 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 nameNullPointerException- if the argument is null
-
-