Administration, System Options, Password, Build Expression

Document ID : KB000054558
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

How do I create password rules for CA PPM?

Solution:

Within Administration Menu, System Options, Password, Build Expression, you can enter expressions to build different rules to enforce password creation by the end-users

Example 1:
Enter the expression below to create a password rule to enforce at least 1 numeric digit, 1 lower case alphabetic digit and 1 upper case alphabetic digit, plus the string must be between 4 and 8 characters:

^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$

Example 2:
I want to allow ANY 3 of the following 4 expressions to constitute a valid password.
(?=.*[a-z])
(?=.*[A-Z])
(?=.*[1-9])
(?=.*[~'!@#$%^&*)(-+=])

Enter the following expression:

^(?=.*[a-zA-Z])(?=.*[A-Z0-9])(?=.*[0-9~'!@#$%^&*)(-+=])(?=.*[a-z~'!@#$%^&*)(-+=])(?=.*[A-Z~'!@#$%^&*)(-+=])(?=.*[a-z0-9]).{8,}$

If any one of these assertions fails, then I am missing at least 2 of the required characters, which means the password fails.