Package de.xima.fc.mdl.enums
Enum EAuthConfigState
- java.lang.Object
-
- java.lang.Enum<EAuthConfigState>
-
- de.xima.fc.mdl.enums.EAuthConfigState
-
- All Implemented Interfaces:
Serializable
,Comparable<EAuthConfigState>
public enum EAuthConfigState extends Enum<EAuthConfigState>
An enumeration with the possible states of an authenticator, indicating whether it's configuration is complete.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The configuration of the authenticator is complete.IN_CONFIGURATION
The configuration of the authenticator is not complete yet.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EAuthConfigState
valueOf(String name)
Returns the enum constant of this type with the specified name.static EAuthConfigState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_CONFIGURATION
public static final EAuthConfigState IN_CONFIGURATION
The configuration of the authenticator is not complete yet. This is used, for example, when the user is still waiting for details from the identity provider, such as tokens or keys.
-
ACTIVE
public static final EAuthConfigState ACTIVE
The configuration of the authenticator is complete. The authenticator can be used to authenticate users.
-
-
Method Detail
-
values
public static EAuthConfigState[] 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 (EAuthConfigState c : EAuthConfigState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAuthConfigState 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
-
-