Password Tests Setting
This setting enables a check on the passwords set manually by users.
The strength of passwords generated by Identity Manager can be configured via Password Reset Settings StrengthCheck.
Examples
The following example encourages users to choose a strong password with at least 9 characters including at least one digit, one lowercase letter, one uppercase and one special character.
<PasswordTestsSetting PasswordRegex="'^..........*$','^.*[0-9].*$', '^.*[a-z].*$', '^.*[A-Z].*$', '^.*[^A-Za-z0-9].*$'"/>
Properties
Property | Details |
---|---|
Identifier default value: PasswordTests | Type String Description Unique identifier of the setting. |
PasswordRegex optional | Type String Description Regular expression(s) (regex) that users' passwords must match to be acceptable when set manually. When setting several regex, passwords must match all of them to be considered strong, and 70% to be considered average. Below that, a password is considered weak and cannot be confirmed. Default value:'^..*$', '^...*$', '^....*$', '^.....*$', '^......*$', '^.......*$', '^........*$', '^.........*$', '^..........*$', '^.*[0-9].*$', '^.*[a-z].*$', '^.*[A-Z].*$', '^.*[^A-Za-z0-9].*$' |