Groovy Scripted Password Validator provide password validator implementations defined in a dynamically-loaded Groovy script which implements the ScriptedPasswordValidator class defined in the UnboundID server SDK.
The Groovy Scripted Password Validator component inherits from the Scripted 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 | |
script-argument | |
script-class |
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 | The set of arguments used to customize the behavior for the Scripted Password Validator. Each configuration property should be given in the form 'name=value'. |
Default Value | None |
Allowed Values | An argument in the form 'name=value'. Argument names are allowed to contain only ASCII alphabetic characters, numeric digits, dashes, and underscores. |
Multi-Valued | Yes |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | The fully-qualified name of the Groovy class providing the logic for the Groovy Scripted Password Validator. |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | Yes |
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 Groovy Scripted Password Validator:
dsconfig create-password-validator --validator-name {name} --type groovy --set enabled:{propertyValue} --set script-class:{propertyValue} [--set {propertyName}:{propertyValue}] ...
To delete an existing Password Validator:
dsconfig delete-password-validator --validator-name {name}