Configuration Reference Home
OpenDJ - Password Policy

Password Policy

Password Policies define a number of password management rules, as well as requirements for authentication processing.

Parent Component

The Password Policy component inherits from the Authentication Policy

Relations From this Component

The following components have a direct AGGREGATION relation FROM Password Policies :

Properties

A description of each property follows.


Basic Properties: Advanced Properties:
↓ account-status-notification-handler ↓ allow-multiple-password-values
↓ allow-expired-password-changes ↓ allow-pre-encoded-passwords
↓ allow-user-password-changes ↓ java-class
↓ default-password-storage-scheme ↓ skip-validation-for-administrators
↓ deprecated-password-storage-scheme ↓ state-update-failure-policy
↓ expire-passwords-without-warning
↓ force-change-on-add
↓ force-change-on-reset
↓ grace-login-count
↓ idle-lockout-interval
↓ last-login-time-attribute
↓ last-login-time-format
↓ lockout-duration
↓ lockout-failure-count
↓ lockout-failure-expiration-interval
↓ max-password-age
↓ max-password-reset-age
↓ min-password-age
↓ password-attribute
↓ password-change-requires-current-password
↓ password-expiration-warning-interval
↓ password-generator
↓ password-history-count
↓ password-history-duration
↓ password-validator
↓ previous-last-login-time-format
↓ require-change-by-time
↓ require-secure-authentication
↓ require-secure-password-changes

Basic Properties

account-status-notification-handler

Description
Specifies the names of the account status notification handlers that are used with the associated password storage scheme.
Default Value
None
Allowed Values
The DN of any Account Status Notification Handler. The referenced account status notification handlers must be enabled.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

allow-expired-password-changes

Description
Indicates whether a user whose password is expired is still allowed to change that password using the password modify extended operation.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

allow-user-password-changes

Description
Indicates whether users can change their own passwords. This check is made in addition to access control evaluation. Both must allow the password change for it to occur.
Default Value
true
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

default-password-storage-scheme

Description
Specifies the names of the password storage schemes that are used to encode clear-text passwords for this password policy.
Default Value
None
Allowed Values
The DN of any Password Storage Scheme. The referenced password storage schemes must be enabled.
Multi-valued
Yes
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

deprecated-password-storage-scheme

Description
Specifies the names of the password storage schemes that are considered deprecated for this password policy. If a user with this password policy authenticates to the server and his/her password is encoded with a deprecated scheme, those values are removed and replaced with values encoded using the default password storage scheme(s).
Default Value
None
Allowed Values
The DN of any Password Storage Scheme. The referenced password storage schemes must be enabled.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

expire-passwords-without-warning

Description
Indicates whether the directory server allows a user's password to expire even if that user has never seen an expiration warning notification. If this property is true, accounts always expire when the expiration time arrives. If this property is false or disabled, the user always receives at least one warning notification, and the password expiration is set to the warning time plus the warning interval.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

force-change-on-add

Description
Indicates whether users are forced to change their passwords upon first authenticating to the directory server after their account has been created.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

force-change-on-reset

Description
Indicates whether users are forced to change their passwords if they are reset by an administrator. For this purpose, anyone with permission to change a given user's password other than that user is considered an administrator.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

grace-login-count

Description
Specifies the number of grace logins that a user is allowed after the account has expired to allow that user to choose a new password. A value of 0 indicates that no grace logins are allowed.
Default Value
0
Allowed Values
An integer value. Lower value is 0. Upper value is 2147483647 .
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

idle-lockout-interval

Description
Specifies the maximum length of time that an account may remain idle (that is, the associated user does not authenticate to the server) before that user is locked out. The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. A value of 0 seconds indicates that idle accounts are not automatically locked out. This feature is available only if the last login time is maintained.
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

last-login-time-attribute

Description
Specifies the name or OID of the attribute type that is used to hold the last login time for users with the associated password policy. This attribute type must be defined in the directory server schema and must either be defined as an operational attribute or must be allowed by the set of objectClasses for all users with the associated password policy.
Default Value
None
Allowed Values
The name of an attribute type defined in the server schema.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

last-login-time-format

Description
Specifies the format string that is used to generate the last login time value for users with the associated password policy. This format string conforms to the syntax described in the API documentation for the java.text.SimpleDateFormat class.
Default Value
None
Allowed Values
Any valid format string that can be used with the java.text.SimpleDateFormat class.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

lockout-duration

Description
Specifies the length of time that an account is locked after too many authentication failures. The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. A value of 0 seconds indicates that the account must remain locked until an administrator resets the password.
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

lockout-failure-count

Description
Specifies the maximum number of authentication failures that a user is allowed before the account is locked out. A value of 0 indicates that accounts are never locked out due to failed attempts.
Default Value
0
Allowed Values
An integer value. Lower value is 0. Upper value is 2147483647 .
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

lockout-failure-expiration-interval

Description
Specifies the length of time before an authentication failure is no longer counted against a user for the purposes of account lockout. The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. A value of 0 seconds indicates that the authentication failures must never expire. The failure count is always cleared upon a successful authentication.
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

max-password-age

Description
Specifies the maximum length of time that a user can continue using the same password before it must be changed (that is, the password expiration interval). The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. A value of 0 seconds disables password expiration.
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

max-password-reset-age

Description
Specifies the maximum length of time that users have to change passwords after they have been reset by an administrator before they become locked. The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. A value of 0 seconds disables this feature.
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

min-password-age

Description
Specifies the minimum length of time after a password change before the user is allowed to change the password again. The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. This setting can be used to prevent users from changing their passwords repeatedly over a short period of time to flush an old password from the history so that it can be re-used.
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

password-attribute

Description
Specifies the attribute type used to hold user passwords. This attribute type must be defined in the server schema, and it must have either the user password or auth password syntax.
Default Value
None
Allowed Values
The name of an attribute type defined in the server schema.
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

password-change-requires-current-password

Description
Indicates whether user password changes must use the password modify extended operation and must include the user's current password before the change is allowed.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

password-expiration-warning-interval

Description
Specifies the maximum length of time before a user's password actually expires that the server begins to include warning notifications in bind responses for that user. The value of this attribute is an integer followed by a unit of seconds, minutes, hours, days, or weeks. A value of 0 seconds disables the warning interval.
Default Value
5 days
Allowed Values
A duration Syntax. Lower limit is 0 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

password-generator

Description
Specifies the name of the password generator that is used with the associated password policy. This is used in conjunction with the password modify extended operation to generate a new password for a user when none was provided in the request.
Default Value
None
Allowed Values
The DN of any Password Generator. The referenced password generator must be enabled.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

password-history-count

Description
Specifies the maximum number of former passwords to maintain in the password history. When choosing a new password, the proposed password is checked to ensure that it does not match the current password, nor any other password in the history list. A value of zero indicates that either no password history is to be maintained (if the password history duration has a value of zero seconds), or that there is no maximum number of passwords to maintain in the history (if the password history duration has a value greater than zero seconds).
Default Value
0
Allowed Values
An integer value. Lower value is 0. Upper value is 2147483647 .
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

password-history-duration

Description
Specifies the maximum length of time that passwords remain in the password history. When choosing a new password, the proposed password is checked to ensure that it does not match the current password, nor any other password in the history list. A value of zero seconds indicates that either no password history is to be maintained (if the password history count has a value of zero), or that there is no maximum duration for passwords in the history (if the password history count has a value greater than zero).
Default Value
0 seconds
Allowed Values
A duration Syntax. Lower limit is 0 seconds. Upper limit is 2147483647 seconds.
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

password-validator

Description
Specifies the names of the password validators that are used with the associated password storage scheme. The password validators are invoked when a user attempts to provide a new password, to determine whether the new password is acceptable.
Default Value
None
Allowed Values
The DN of any Password Validator. The referenced password validators must be enabled.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

previous-last-login-time-format

Description
Specifies the format string(s) that might have been used with the last login time at any point in the past for users associated with the password policy. These values are used to make it possible to parse previous values, but are not used to set new values. The format strings conform to the syntax described in the API documentation for the java.text.SimpleDateFormat class.
Default Value
None
Allowed Values
Any valid format string that can be used with the java.text.SimpleDateFormat class.
Multi-valued
Yes
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

require-change-by-time

Description
Specifies the time by which all users with the associated password policy must change their passwords. The value is expressed in a generalized time format. If this time is equal to the current time or is in the past, then all users are required to change their passwords immediately. The behavior of the server in this mode is identical to the behavior observed when users are forced to change their passwords after an administrative reset.
Default Value
None
Allowed Values
A valid timestamp in generalized time form (for example, a value of "20070409185811Z" indicates a value of April 9, 2007 at 6:58:11 pm GMT).
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

require-secure-authentication

Description
Indicates whether users with the associated password policy are required to authenticate in a secure manner. This might mean either using a secure communication channel between the client and the server, or using a SASL mechanism that does not expose the credentials.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No

require-secure-password-changes

Description
Indicates whether users with the associated password policy are required to change their password in a secure manner that does not expose the credentials.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
No
Read-only
No


Advanced Properties

allow-multiple-password-values

Description
Indicates whether user entries can have multiple distinct values for the password attribute. This is potentially dangerous because many mechanisms used to change the password do not work well with such a configuration. If multiple password values are allowed, then any of them can be used to authenticate, and they are all subject to the same policy constraints.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No

allow-pre-encoded-passwords

Description
Indicates whether users can change their passwords by providing a pre-encoded value. This can cause a security risk because the clear-text version of the password is not known and therefore validation checks cannot be applied to it.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No

java-class

Description
Specifies the fully-qualified name of the Java class which provides the Password Policy implementation.
Default Value
org.opends.server.core.PasswordPolicyFactory
Allowed Values
A java class that implements or extends the class(es) :
org.opends.server.api.AuthenticationPolicyFactory
Multi-valued
No
Required
Yes
Admin Action Required
The Password Policy must be disabled and re-enabled for changes to this setting to take effect
Advanced Property
Yes
Read-only
No

skip-validation-for-administrators

Description
Indicates whether passwords set by administrators are allowed to bypass the password validation process that is required for user password changes.
Default Value
false
Allowed Values
true
false
Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No

state-update-failure-policy

Description
Specifies how the server deals with the inability to update password policy state information during an authentication attempt. In particular, this property can be used to control whether an otherwise successful bind operation fails if a failure occurs while attempting to update password policy state information (for example, to clear a record of previous authentication failures or to update the last login time). It can also be used to control whether to reject a bind request if it is known ahead of time that it will not be possible to update the authentication failure times in the event of an unsuccessful bind attempt (for example, if the backend writability mode is disabled).
Default Value
reactive
Allowed Values
ignore - If a bind attempt would otherwise be successful, then do not reject it if a problem occurs while attempting to update the password policy state information for the user.

proactive - Proactively reject any bind attempt if it is known ahead of time that it would not be possible to update the user's password policy state information.

reactive - Even if a bind attempt would otherwise be successful, reject it if a problem occurs while attempting to update the password policy state information for the user.


Multi-valued
No
Required
No
Admin Action Required
None
Advanced Property
Yes
Read-only
No