Enum PasswordRuleType
- java.lang.Object
-
- java.lang.Enum<PasswordRuleType>
-
- org.silverpeas.core.security.authentication.password.constant.PasswordRuleType
-
- All Implemented Interfaces:
Serializable
,Comparable<PasswordRuleType>
public enum PasswordRuleType extends Enum<PasswordRuleType>
User: Yohann Chastagnier Date: 07/01/13
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AT_LEAST_X_DIGIT
AT_LEAST_X_LOWERCASE
AT_LEAST_X_SPECIAL_CHAR
AT_LEAST_X_UPPERCASE
BLANK_FORBIDDEN
MAX_LENGTH
MIN_LENGTH
SEQUENTIAL_FORBIDDEN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBundleKey()
String
getSettingKey()
static PasswordRuleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PasswordRuleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIN_LENGTH
public static final PasswordRuleType MIN_LENGTH
-
MAX_LENGTH
public static final PasswordRuleType MAX_LENGTH
-
BLANK_FORBIDDEN
public static final PasswordRuleType BLANK_FORBIDDEN
-
SEQUENTIAL_FORBIDDEN
public static final PasswordRuleType SEQUENTIAL_FORBIDDEN
-
AT_LEAST_X_UPPERCASE
public static final PasswordRuleType AT_LEAST_X_UPPERCASE
-
AT_LEAST_X_LOWERCASE
public static final PasswordRuleType AT_LEAST_X_LOWERCASE
-
AT_LEAST_X_DIGIT
public static final PasswordRuleType AT_LEAST_X_DIGIT
-
AT_LEAST_X_SPECIAL_CHAR
public static final PasswordRuleType AT_LEAST_X_SPECIAL_CHAR
-
-
Method Detail
-
values
public static PasswordRuleType[] 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 (PasswordRuleType c : PasswordRuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PasswordRuleType 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
-
getSettingKey
public String getSettingKey()
-
getBundleKey
public String getBundleKey()
-
-