Skip to main content

Add new rules using regular expressions

You can add additional rules that use regular expressions to force or prevent the use of certain passwords.

Click below to view a demonstration of reviewing a default password policy, defining and testing password-strength rules using a regular expression and a built-in plugin, testing the random password generator, preventing users from re-using old passwords and adding rules using a white list.

To add a password rule using a regular expression:

  1. On the Password Policy tab, click Add new… in the Regular expressions form below the standard strength rules.

  2. Select the Status (required or warning).

  3. Type a description.

    This description identifies the expression on the policy configuration page, and is also displayed to users when they enter new passwords. Depending on the status, Bravura Security Fabric prepends "The password should” or "The password must” to the message to display to users; for example:

    Your password must: not begin with the letters SAP

  4. Type the regular expression. For example, enter: ∧ [Ss][Aa][Pp]

  5. Select ”Accept matching passwords” or ”Reject matching passwords”.

  6. Click Add.

To remove a rule that uses a regular expression string, ensure that you delete it. If you simply empty the text of the regular expression string, the policy will not match any password.

See also

See Regular Expressions for more information.