Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


oracle.ldap.util
Class PasswordPolicy

java.lang.Object
  extended byoracle.ldap.util.PasswordPolicy


public class PasswordPolicy
extends java.lang.Object

Field Summary
static int ACCT_DISABLED_EC
static int ACCT_INACTIVE
static int ACCT_UNLOCK_EC
static int PASSWORD_ACCOUNT_LOCKED
static int PASSWORD_ALPHA_NUMERIC_PROPERTY
static java.lang.String PASSWORD_EXPIRE_GRACE_LOGIN_CONTROL
static java.lang.String PASSWORD_EXPIRE_MUST_CHANGE_CONTROL
static int PASSWORD_EXPIRE_WARNING
static java.lang.String PASSWORD_EXPIRE_WARNING_CONTROL
static int PASSWORD_EXPIRED_EC
static int PASSWORD_GRACE_LOGIN
static int PASSWORD_ILLEGAL_VALUE_EC
static int PASSWORD_ILLEGAL_VALUES_PROPERTY
static int PASSWORD_IN_HISTORY_EC
static int PASSWORD_IP_ACCOUNT_LOCKED
static int PASSWORD_MINLENGTH_EC
static int PASSWORD_MINLENGTH_PROPERTY
static int PASSWORD_MUST_CHANGE
static int PASSWORD_NULL_EC
static int PASSWORD_NUMERIC_EC
static int PASSWORD_POLICY_ENABLED

Method Summary
static PasswordPolicy getPasswordPolicy(javax.naming.directory.DirContext ctx, DistinguishedName dn)
static PasswordPolicy getPasswordPolicy(javax.naming.directory.DirContext ctx, Subscriber sub)
java.lang.Object getProperties(int propType)
void validateAlphaNumericValue(java.lang.String password)
void validateIllegalValues(java.lang.String password)
void validateMinimumLength(java.lang.String password)
void validatePassword(java.lang.String password)

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

PASSWORD_EXPIRED_EC

public static final int PASSWORD_EXPIRED_EC
See Also:
Constant Field Values

PASSWORD_ACCOUNT_LOCKED

public static final int PASSWORD_ACCOUNT_LOCKED
See Also:
Constant Field Values

PASSWORD_EXPIRE_WARNING

public static final int PASSWORD_EXPIRE_WARNING
See Also:
Constant Field Values

PASSWORD_MINLENGTH_EC

public static final int PASSWORD_MINLENGTH_EC
See Also:
Constant Field Values

PASSWORD_NUMERIC_EC

public static final int PASSWORD_NUMERIC_EC
See Also:
Constant Field Values

PASSWORD_NULL_EC

public static final int PASSWORD_NULL_EC
See Also:
Constant Field Values

PASSWORD_IN_HISTORY_EC

public static final int PASSWORD_IN_HISTORY_EC
See Also:
Constant Field Values

PASSWORD_ILLEGAL_VALUE_EC

public static final int PASSWORD_ILLEGAL_VALUE_EC
See Also:
Constant Field Values

PASSWORD_GRACE_LOGIN

public static final int PASSWORD_GRACE_LOGIN
See Also:
Constant Field Values

PASSWORD_MUST_CHANGE

public static final int PASSWORD_MUST_CHANGE
See Also:
Constant Field Values

PASSWORD_IP_ACCOUNT_LOCKED

public static final int PASSWORD_IP_ACCOUNT_LOCKED
See Also:
Constant Field Values

ACCT_DISABLED_EC

public static final int ACCT_DISABLED_EC
See Also:
Constant Field Values

ACCT_UNLOCK_EC

public static final int ACCT_UNLOCK_EC
See Also:
Constant Field Values

ACCT_INACTIVE

public static final int ACCT_INACTIVE
See Also:
Constant Field Values

PASSWORD_EXPIRE_WARNING_CONTROL

public static final java.lang.String PASSWORD_EXPIRE_WARNING_CONTROL
See Also:
Constant Field Values

PASSWORD_EXPIRE_GRACE_LOGIN_CONTROL

public static final java.lang.String PASSWORD_EXPIRE_GRACE_LOGIN_CONTROL
See Also:
Constant Field Values

PASSWORD_EXPIRE_MUST_CHANGE_CONTROL

public static final java.lang.String PASSWORD_EXPIRE_MUST_CHANGE_CONTROL
See Also:
Constant Field Values

PASSWORD_POLICY_ENABLED

public static final int PASSWORD_POLICY_ENABLED
See Also:
Constant Field Values

PASSWORD_MINLENGTH_PROPERTY

public static final int PASSWORD_MINLENGTH_PROPERTY
See Also:
Constant Field Values

PASSWORD_ALPHA_NUMERIC_PROPERTY

public static final int PASSWORD_ALPHA_NUMERIC_PROPERTY
See Also:
Constant Field Values

PASSWORD_ILLEGAL_VALUES_PROPERTY

public static final int PASSWORD_ILLEGAL_VALUES_PROPERTY
See Also:
Constant Field Values

Method Detail

getPasswordPolicy

public static PasswordPolicy getPasswordPolicy(javax.naming.directory.DirContext ctx,
                                               Subscriber sub)
                                        throws UtilException
Throws:
UtilException

getPasswordPolicy

public static PasswordPolicy getPasswordPolicy(javax.naming.directory.DirContext ctx,
                                               DistinguishedName dn)
                                        throws UtilException
Throws:
UtilException

validatePassword

public void validatePassword(java.lang.String password)
                      throws PasswordPolicyException
Throws:
PasswordPolicyException

getProperties

public java.lang.Object getProperties(int propType)
                               throws InvalidParameterException
Throws:
InvalidParameterException

validateMinimumLength

public void validateMinimumLength(java.lang.String password)
                           throws MinimumLengthException
Throws:
MinimumLengthException

validateAlphaNumericValue

public void validateAlphaNumericValue(java.lang.String password)
                               throws NumericCharacterException
Throws:
NumericCharacterException

validateIllegalValues

public void validateIllegalValues(java.lang.String password)
                           throws IllegalValueException
Throws:
IllegalValueException

Oracle Internet Directory API Reference
10g(10.1.2)

B14083-02


Copyright © 2005, Oracle. All Rights Reserved.