Configuration Reference Home
OpenDS - Unique Characters Password Validator

Unique Characters Password Validator

The Unique Characters Password Validator is used to determine whether a proposed password is acceptable based on the number of unique characters that it contains.

This validator can be used to prevent simple passwords that contain only a few characters like "aabbcc" or "abcabc".

Parent Component

The Unique Characters Password Validator component inherits from the Password Validator




This page describes the Unique Characters Password Validator:


Properties

A description of each property follows.


Basic Properties: Advanced Properties:
↓ case-sensitive-validation ↓ java-class
↓ enabled
↓ min-unique-characters

Basic Properties

case-sensitive-validation

Description
Indicates whether this password validator should treat password characters in a case-sensitive manner. A value of true indicates that the validator does not consider a capital letter to be the same as its lower-case counterpart. A value of false indicates that the validator ignores differences in capitalization when looking at the number of unique characters in the password.
Default Value
None
Allowed Values
true
false
Multi-valued
No
Required
Yes
Admin Action Required
None
Advanced Property
No
Read-only
No

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

min-unique-characters

Description
Specifies the minimum number of unique characters that a password will be allowed to contain. A value of zero indicates that no minimum value is enforced.
Default Value
None
Allowed Values
An integer value. Lower value is 0.
Multi-valued
No
Required
Yes
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.UniqueCharactersPasswordValidator
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 Unique Characters Password Validator must be disabled and re-enabled for changes to this setting to take effect
Advanced Property
Yes
Read-only
No


LDAP Mapping

Each configuration property can be mapped to a specific LDAP attribute under the "cn=config" entry. The mappings that follow are provided for information only. In general, you should avoid changing the server configuration by manipulating the LDAP attributes directly.

Base DN
cn=Password Validators,cn=config
objectclass name
ds-cfg-unique-characters-password-validator
objectclass superior
ds-cfg-password-validator

Property
LDAP attribute
case-sensitive-validation
ds-cfg-case-sensitive-validation
enabled
ds-cfg-enabled
java-class
ds-cfg-java-class
min-unique-characters
ds-cfg-min-unique-characters