Metrics Engine Documentation Index
Configuration Reference Home

Regular Expression Password Validator

Note: this component is designated "advanced", which means that objects of this type are not expected to be created or altered in most environments. If you believe that such a change is necessary, you may want to contact UnboundID support in order to understand the potential impact of that change.

The Regular Expression Password Validator may be used to determine whether a given password is acceptable based on whether or not it matches a specified expression. It may be configured to accept only passwords that match the defined pattern, or to reject any password that matches the pattern.

Parent Component
Properties
dsconfig Usage

Parent Component

The Regular Expression Password Validator component inherits from the Password Validator

Properties

The properties supported by this managed object are as follows:


Basic Properties: Advanced Properties:
↓ description  None
↓ enabled
↓ match-pattern
↓ match-behavior

Basic Properties

description

Description
A description for this Password Validator
Default Value
None
Allowed Values
A string
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

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. Modification requires no further action

match-pattern

Description
The regular expression to use for this password validator.
Default Value
None
Allowed Values
A string
Multi-Valued
No
Required
Yes
Admin Action Required
None. Modification requires no further action

match-behavior

Description
The behavior to exhibit if a user's proposed password matches the regular expression defined in the match-pattern property.
Default Value
None
Allowed Values
require-match - The proposed password will only be valid if it matches the provided regular expression.

reject-match - The proposed password will only be valid if it does not match the provided regular expression.
Multi-Valued
No
Required
Yes
Admin Action Required
None. Modification requires no further action


dsconfig Usage

To list the configured Password Validators:

dsconfig list-password-validators
     [--property {propertyName}] ...

To view the configuration for an existing Password Validator:

dsconfig get-password-validator-prop
     --validator-name {name}
     [--tab-delimited]
     [--script-friendly]
     [--property {propertyName}] ...

To update the configuration for an existing Password Validator:

dsconfig set-password-validator-prop
     --validator-name {name}
     (--set|--add|--remove) {propertyName}:{propertyValue}
     [(--set|--add|--remove) {propertyName}:{propertyValue}] ...

To create a new Regular Expression Password Validator:

dsconfig create-password-validator
     --validator-name {name}
     --type regular-expression
     --set enabled:{propertyValue}
     --set match-pattern:{propertyValue}
     --set match-behavior:{propertyValue}
     [--set {propertyName}:{propertyValue}] ...

To delete an existing Password Validator:

dsconfig delete-password-validator
     --validator-name {name}