The Utf 8 Password Validator may be used to ensure that passwords are only allowed to contain valid UTF-8 characters. It may optionally limit characters to only those in the ASCII character set, and may also optionally restrict passwords so that they may only include characters from a specified set of character classes.
The Utf 8 Password Validator component inherits from the Password Validator
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
enabled | |
validator-requirement-description | |
validator-failure-message | |
allow-non-ascii-characters | |
allow-unknown-characters | |
allowed-character-type |
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 |
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 |
validator-requirement-description
Description | Specifies a message that can be used to describe the requirements imposed by this password validator to end users. If a value is provided for this property, then it will override any description that may have otherwise been generated by the validator. |
Default Value | The requirement description will be automatically generated by the password validator. |
Allowed Values | A string |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Specifies a message that may be provided to the end user in the event that a proposed password is rejected by this validator. If a value is provided for this property, then it will override any failure message that may have otherwise been generated by the validator. |
Default Value | The requirement description will be automatically generated by the password validator. |
Allowed Values | A string |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Indicates whether passwords will be allowed to include characters from outside the ASCII character set. |
Default Value | true |
Allowed Values | true false |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Indicates whether passwords will be allowed to include characters that are not recognized by the JVM's Unicode support. |
Default Value | false |
Allowed Values | true false |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Specifies the set of character types that are allowed to be present in passwords. |
Default Value | letters numbers punctuation symbols spaces marks |
Allowed Values | letters - Indicates that passwords are allowed to include alphabetic letters, including characters from the uppercase letter (Lu), lowercase letter (Ll), titlecase letter (Lt), modifier letter (Lm), and other letter (Lo) classes. numbers - Indicates that passwords are allowed to include numbers, including characters from the decimal digit number (Nd), letter number (Nl), and other number (No) classes. punctuation - Indicates that passwords are allowed to include punctuation, including characters from the dash punctuation (Pd), start punctuation (Ps), end punctuation (Pe), connector punctuation (Pc), initial quote punctuation (Pi), final quote punctuation (Pf), and other punctuation (Po) classes. symbols - Indicates that passwords are allowed to include symbols, including characters from the math symbol (Sm), currency symbol (Sc), modifier symbol (Sk), and other symbol (So) classes. spaces - Indicates that passwords are allowed to include characters from the space separator (Zs) class. non-space-separators - Indicates that passwords are allowed to include separator characters other than spaces, including characters from the line separator (Zl), and paragraph separator (Zp) classes. marks - Indicates that passwords are allowed to include mark characters, including characters from the non-spacing mark (Mn), enclosing mark (Me), and combining spacing mark (Mc) classes. control - Indicates that passwords are allowed to include control characters, including characters from the control (Cc) and format (Cf) classes. private-use - Indicates that passwords are allowed to include characters from the private use (Co) class, which are not defined in the Unicode specification and may have purposes that vary across systems and applications. |
Multi-Valued | Yes |
Required | No |
Admin Action Required | None. Modification requires no further action |
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 Utf 8 Password Validator:
dsconfig create-password-validator --validator-name {name} --type utf-8 --set enabled:{propertyValue} [--set {propertyName}:{propertyValue}] ...
To delete an existing Password Validator:
dsconfig delete-password-validator --validator-name {name}