org.apache.directory.api.ldap.extras.controls.ppolicy
Enum PasswordPolicyErrorEnum
java.lang.Object
java.lang.Enum<PasswordPolicyErrorEnum>
org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicyErrorEnum
- All Implemented Interfaces:
- Serializable, Comparable<PasswordPolicyErrorEnum>
public enum PasswordPolicyErrorEnum
- extends Enum<PasswordPolicyErrorEnum>
constants representing PasswordPolicyErrorS as stated in the draft
- Author:
- Apache Directory Project
PASSWORD_EXPIRED
public static final PasswordPolicyErrorEnum PASSWORD_EXPIRED
ACCOUNT_LOCKED
public static final PasswordPolicyErrorEnum ACCOUNT_LOCKED
CHANGE_AFTER_RESET
public static final PasswordPolicyErrorEnum CHANGE_AFTER_RESET
PASSWORD_MOD_NOT_ALLOWED
public static final PasswordPolicyErrorEnum PASSWORD_MOD_NOT_ALLOWED
MUST_SUPPLY_OLD_PASSWORD
public static final PasswordPolicyErrorEnum MUST_SUPPLY_OLD_PASSWORD
INSUFFICIENT_PASSWORD_QUALITY
public static final PasswordPolicyErrorEnum INSUFFICIENT_PASSWORD_QUALITY
PASSWORD_TOO_SHORT
public static final PasswordPolicyErrorEnum PASSWORD_TOO_SHORT
PASSWORD_TOO_YOUNG
public static final PasswordPolicyErrorEnum PASSWORD_TOO_YOUNG
PASSWORD_IN_HISTORY
public static final PasswordPolicyErrorEnum PASSWORD_IN_HISTORY
values
public static PasswordPolicyErrorEnum[] 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 (PasswordPolicyErrorEnum c : PasswordPolicyErrorEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PasswordPolicyErrorEnum 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
get
public static PasswordPolicyErrorEnum get(int val)
getValue
public int getValue()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.