org.eclipse.stardust.common.security
Enum InvalidPasswordException.FailureCode
java.lang.Object
java.lang.Enum<InvalidPasswordException.FailureCode>
org.eclipse.stardust.common.security.InvalidPasswordException.FailureCode
- All Implemented Interfaces:
- Serializable, Comparable<InvalidPasswordException.FailureCode>
- Enclosing class:
- InvalidPasswordException
public static enum InvalidPasswordException.FailureCode
- extends Enum<InvalidPasswordException.FailureCode>
MINIMAL_PASSWORD_LENGTH
public static final InvalidPasswordException.FailureCode MINIMAL_PASSWORD_LENGTH
LETTER
public static final InvalidPasswordException.FailureCode LETTER
DIGITS
public static final InvalidPasswordException.FailureCode DIGITS
MIXED_CASE
public static final InvalidPasswordException.FailureCode MIXED_CASE
PUNCTUATION
public static final InvalidPasswordException.FailureCode PUNCTUATION
PREVIOUS_PASSWORDS
public static final InvalidPasswordException.FailureCode PREVIOUS_PASSWORDS
DIFFERENT_CHARACTERS
public static final InvalidPasswordException.FailureCode DIFFERENT_CHARACTERS
values
public static InvalidPasswordException.FailureCode[] 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 (InvalidPasswordException.FailureCode c : InvalidPasswordException.FailureCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InvalidPasswordException.FailureCode 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 name
NullPointerException - if the argument is null
Copyright © 2017 Eclipse Stardust. All Rights Reserved.