Enum PasswordStrength.PasswordQuality
- java.lang.Object
-
- java.lang.Enum<PasswordStrength.PasswordQuality>
-
- de.aristaflow.adept2.model.orgmodel.PasswordStrength.PasswordQuality
-
- All Implemented Interfaces:
Serializable
,Comparable<PasswordStrength.PasswordQuality>
- Enclosing interface:
- PasswordStrength
public static enum PasswordStrength.PasswordQuality extends Enum<PasswordStrength.PasswordQuality>
The quality of the password of an agent. A low quality password will be refused, that is, the complete change operation or agent creation viaModelChangeOperations
will be refused
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
The password will be accepted.FORCE_ACCEPTED
The password will be accepted in case a system/supervisor role is setting/changing it.REFUSED
The password and the corresponding change operation will be refused.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PasswordStrength.PasswordQuality
valueOf(String name)
Returns the enum constant of this type with the specified name.static PasswordStrength.PasswordQuality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final PasswordStrength.PasswordQuality ACCEPTED
The password will be accepted.
-
FORCE_ACCEPTED
public static final PasswordStrength.PasswordQuality FORCE_ACCEPTED
The password will be accepted in case a system/supervisor role is setting/changing it.
-
REFUSED
public static final PasswordStrength.PasswordQuality REFUSED
The password and the corresponding change operation will be refused.
-
-
Method Detail
-
values
public static PasswordStrength.PasswordQuality[] 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 (PasswordStrength.PasswordQuality c : PasswordStrength.PasswordQuality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PasswordStrength.PasswordQuality 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
-
-