Changes in passwords in 2.2

Build 1501 on 14/Nov/2017  This topic last edited on: 17/Mar/2015, at 11:34

Since the version 2.2. you can force the password complexity on all GN4 applications (clients, GNPortal, I4).

To force a rule on user passwords, declare two attributes in the ServerConfig:

PasswordPattern: regular expression to validate the new password set by user

PasswordPatternMsg: custom error message to explain the Password Pattern requirements

Example:

PasswordPattern="^(?=.*\d)(?=.*a-z)(?=.*A-Z).{8}$"

PasswordPatternMsg="Password must be at least 8 characters and must include at least one upper case letter, one lower case letter, and one numeric digit."

The password pattern works only on user passwords. Applying the new rule in Server Config do not force users to change the existing passwords (the restriction is applied only to new passwords or when changing the old ones).