Package com.soffid.iam.api
Enum PasswordValidation
- java.lang.Object
-
- java.lang.Enum<PasswordValidation>
-
- com.soffid.iam.api.PasswordValidation
-
- All Implemented Interfaces:
Serializable
,Comparable<PasswordValidation>
public enum PasswordValidation extends Enum<PasswordValidation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PASSWORD_GOOD
PASSWORD_GOOD_EXPIRED
PASSWORD_WRONG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PasswordValidation
toPasswordValidation(PasswordValidation src)
static PasswordValidation
valueOf(String name)
Returns the enum constant of this type with the specified name.static PasswordValidation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD_GOOD
public static final PasswordValidation PASSWORD_GOOD
-
PASSWORD_WRONG
public static final PasswordValidation PASSWORD_WRONG
-
PASSWORD_GOOD_EXPIRED
public static final PasswordValidation PASSWORD_GOOD_EXPIRED
-
-
Method Detail
-
values
public static PasswordValidation[] 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 (PasswordValidation c : PasswordValidation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PasswordValidation 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
-
toPasswordValidation
public static PasswordValidation toPasswordValidation(PasswordValidation src)
-
-