Configuration Reference Home
OpenDJ - Length Based Password Validator

Length Based Password Validator

The Length Based Password Validator is used to determine whether a proposed password is acceptable based on whether the number of characters it contains falls within an acceptable range of values.

Both upper and lower bounds may be defined.

Parent Component

The Length Based Password Validator component inherits from the Password Validator

Properties

A description of each property follows.


Basic Properties: Advanced Properties:
↓ enabled ↓ java-class
↓ max-password-length
↓ min-password-length

Basic Properties

enabled

Description
Indicates whether the password validator is enabled for use.
Default Value
None
Allowed Values
true
false
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

max-password-length

Description
Specifies the maximum number of characters that can be included in a proposed password. A value of zero indicates that there will be no upper bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
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

min-password-length

Description
Specifies the minimum number of characters that must be included in a proposed password. A value of zero indicates that there will be no lower bound enforced. If both minimum and maximum lengths are defined, then the minimum length must be less than or equal to the maximum length.
Default Value
6
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


Advanced Properties

java-class

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