Package com.iizix.passwordpolicy
Enum Class PasswordPolicyResult.ReturnCode
java.lang.Object
java.lang.Enum<PasswordPolicyResult.ReturnCode>
com.iizix.passwordpolicy.PasswordPolicyResult.ReturnCode
- All Implemented Interfaces:
- Serializable,- Comparable<PasswordPolicyResult.ReturnCode>,- Constable
- Enclosing class:
- PasswordPolicyResult
Enum of possible values of the result.
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionPassword must have a digit.Password is insecure with explanation as to why.Password is insecure without explanation as to why.Password is insecure: warning message.Password must have a 'symbol' (i.e.Password length must be minimum %d characters.The last %d passwords must be unique.Password must have at least one lower case and one upper case character.Password is valid for the policy in question.
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.- static PasswordPolicyResult.ReturnCode[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- VALIDPassword is valid for the policy in question.
- TOO_SHORTPassword length must be minimum %d characters.
- DIGIT_REQUIREDPassword must have a digit.
- SYMBOL_REQUIREDPassword must have a 'symbol' (i.e. not 0-9, a-z or A-Z).
- UPPER_AND_LOWER_CASE_REQUIREDPassword must have at least one lower case and one upper case character.
- UNIQUE_PASSWORD_HISTORYThe last %d passwords must be unique.
- PASSWORD_INSECUREPassword is insecure with explanation as to why.
- PASSWORD_INSECURE_WARNINGPassword is insecure: warning message.
- PASSWORD_INSECURE_NO_EXPLANATIONPassword is insecure without explanation as to why.
 
- Field Details- englishTextThe English text.
- textIDThe text ID.
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null