Similarity Based Password Validator

The Similarity Based Password Validator determines whether a proposed password is acceptable by measuring how similar it is to the user's current password.

In particular, it uses the Levenshtein Distance algorithm to determine the minimum number of changes (where a change may be inserting, deleting, or replacing a character) to transform one string into the other. It can be used to prevent users from making only minor changes to their current password when setting a new password. Note that for this password validator to be effective, it is necessary to have access to the user's current password. Therefore, if this password validator is to be enabled, the password-change-requires-current-password attribute in the password policy configuration must also be set to true.

Parent

The Similarity Based Password Validator object inherits from Password Validator.

Properties

Use the --advanced option to access advanced properties.

Basic Properties

Advanced Properties

Basic Properties

enabled

SynopsisIndicates whether the password validator is enabled for use.
Default ValueNone
Allowed Valuestrue
false
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

min-password-difference

SynopsisSpecifies the minimum difference of new and old password.
DescriptionA value of zero indicates that no difference between passwords is acceptable.
Default ValueNone
Allowed ValuesAn integer. Lower limit: 0. Upper limit: 2147483647.
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

Advanced Properties

java-class

SynopsisSpecifies the fully-qualified name of the Java class that provides the password validator implementation.
Default Valueorg.opends.server.extensions.SimilarityBasedPasswordValidator
Allowed ValuesA Java class that extends or implements:
org.opends.server.api.PasswordValidator
Multi-valuedNo
RequiredYes
Admin Action RequiredThe object must be disabled and re-enabled for changes to take effect.
AdvancedYes
Read-OnlyNo