Package com.iizix.passwordpolicy
Enum PasswordPolicyResult.ReturnCode
- java.lang.Object
- java.lang.Enum<PasswordPolicyResult.ReturnCode>
- com.iizix.passwordpolicy.PasswordPolicyResult.ReturnCode
 
 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<PasswordPolicyResult.ReturnCode>
 - Enclosing class:
- PasswordPolicyResult
 - public static enum PasswordPolicyResult.ReturnCode extends java.lang.Enum<PasswordPolicyResult.ReturnCode> Enum of possible values of the result.
- Enum Constant Summary- Enum Constants - Enum Constant - Description - DIGIT_REQUIREDPassword must have a digit.- PASSWORD_INSECUREPassword is insecure with explanation as to why.- PASSWORD_INSECURE_NO_EXPLANATIONPassword is insecure without explanation as to why.- PASSWORD_INSECURE_WARNINGPassword is insecure: warning message.- SYMBOL_REQUIREDPassword must have a 'symbol' (i.e.- TOO_SHORTPassword length must be minimum %d characters.- UNIQUE_PASSWORD_HISTORYThe last %d passwords must be unique.- UPPER_AND_LOWER_CASE_REQUIREDPassword must have at least one lower case and one upper case character.- VALIDPassword is valid for the policy in question.
 - Field Summary- Fields - Modifier and Type - Field - Description - java.lang.String- englishTextThe English text.- java.lang.String- textIDThe text ID.
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static PasswordPolicyResult.ReturnCode- valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.- static PasswordPolicyResult.ReturnCode[]- values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- Enum Constant Detail- VALID- public static final PasswordPolicyResult.ReturnCode VALID Password is valid for the policy in question.
 - TOO_SHORT- public static final PasswordPolicyResult.ReturnCode TOO_SHORT Password length must be minimum %d characters.
 - DIGIT_REQUIRED- public static final PasswordPolicyResult.ReturnCode DIGIT_REQUIRED Password must have a digit.
 - SYMBOL_REQUIRED- public static final PasswordPolicyResult.ReturnCode SYMBOL_REQUIRED Password must have a 'symbol' (i.e. not 0-9, a-z or A-Z).
 - UPPER_AND_LOWER_CASE_REQUIRED- public static final PasswordPolicyResult.ReturnCode UPPER_AND_LOWER_CASE_REQUIRED Password must have at least one lower case and one upper case character.
 - UNIQUE_PASSWORD_HISTORY- public static final PasswordPolicyResult.ReturnCode UNIQUE_PASSWORD_HISTORY The last %d passwords must be unique.
 - PASSWORD_INSECURE- public static final PasswordPolicyResult.ReturnCode PASSWORD_INSECURE Password is insecure with explanation as to why.
 - PASSWORD_INSECURE_WARNING- public static final PasswordPolicyResult.ReturnCode PASSWORD_INSECURE_WARNING Password is insecure: warning message.
 - PASSWORD_INSECURE_NO_EXPLANATION- public static final PasswordPolicyResult.ReturnCode PASSWORD_INSECURE_NO_EXPLANATION Password is insecure without explanation as to why.
 
 - Method Detail- values- public static PasswordPolicyResult.ReturnCode[] 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 (PasswordPolicyResult.ReturnCode c : PasswordPolicyResult.ReturnCode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - valueOf- public static PasswordPolicyResult.ReturnCode valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null