Package de.xima.fc.user.access
Enum MfaRequirementSource
- java.lang.Object
-
- java.lang.Enum<MfaRequirementSource>
-
- de.xima.fc.user.access.MfaRequirementSource
-
- All Implemented Interfaces:
Serializable,Comparable<MfaRequirementSource>
public enum MfaRequirementSource extends Enum<MfaRequirementSource>
Who requires multi-factor authentication for a user.- Since:
- 8.5.6
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MfaRequirementSourcevalueOf(String name)Returns the enum constant of this type with the specified name.static MfaRequirementSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final MfaRequirementSource SYSTEM
Multi-factor authentication is enforced for all users by the system settings.
-
USER
public static final MfaRequirementSource USER
The user activated multi-factor authentication in their own profile.
-
-
Method Detail
-
values
public static MfaRequirementSource[] 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 (MfaRequirementSource c : MfaRequirementSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MfaRequirementSource 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
-
-