org.eclipse.stardust.common.security
Enum InvalidPasswordException.FailureCode

java.lang.Object
  extended by java.lang.Enum<InvalidPasswordException.FailureCode>
      extended by 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>


Enum Constant Summary
DIFFERENT_CHARACTERS
           
DIGITS
           
LETTER
           
MINIMAL_PASSWORD_LENGTH
           
MIXED_CASE
           
PREVIOUS_PASSWORDS
           
PUNCTUATION
           
 
Method Summary
static InvalidPasswordException.FailureCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InvalidPasswordException.FailureCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.