Package pl.edu.icm.unity.types.authn
Enum LocalCredentialState
- java.lang.Object
-
- java.lang.Enum<LocalCredentialState>
-
- pl.edu.icm.unity.types.authn.LocalCredentialState
-
- All Implemented Interfaces:
Serializable
,Comparable<LocalCredentialState>
public enum LocalCredentialState extends Enum<LocalCredentialState>
State of the local credential initialization for an entity. This is pertaining to a single credential - entity might have more then one.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalCredentialState
valueOf(String name)
Returns the enum constant of this type with the specified name.static LocalCredentialState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
correct
public static final LocalCredentialState correct
the credential is fine
-
notSet
public static final LocalCredentialState notSet
the credential is not defined
-
outdated
public static final LocalCredentialState outdated
the credential is defined but is invalid. E.g. it is not fulfilling the new restrictions or is outdated.
-
-
Method Detail
-
values
public static LocalCredentialState[] 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 (LocalCredentialState c : LocalCredentialState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalCredentialState 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
-
-