Manage Password Authentication Rules
An administrator can create password rules to enhance security in Loftware Enterprise SP. You can enter a regular expression to define the pattern and contents rules for passwords.
Important! Patterns for password patterns and contents are governed by the Java syntax for regular expressions.
Escape sequences are required for the following characters. Precede the character with a backslash.
< > ( ) [ ] { } | ^ - = + * $ ! ? . \
For more information about Java syntax for regular expressions, see "Scripting, Java, and XML" in External Links.
Note: To perform this task, you must be signed in as the ClientAdmin, SystemAdmin, or SuperAdmin user. For more information, see
To configure rules for passwords in Loftware Enterprise SP, perform the following steps.
- In System
- In the Authentication Rules panel, to define the minimum and maximum number of characters allowed in a password, enter a regular expression for Password Pattern. For more information, see Password Pattern Examples.
A four character minimum is used by default if you leave this field blank.
Example
The following sets an 8 character minimum and 50 character maximum:
.{8,50}
- To define the characters required in a password, enter a regular expression for Password Contents. For more information, see Password Contents Examples.
Example
The following requires passwords to contain at least one uppercase character and at least one numeric character:
(?=.*[A-Z])(?=.*[0-9])
- For Custom Password Error Message, enter the message to display to users if their new or changed password does not meet the criteria specified in Password Pattern and Password Contents. This message should inform the user what is required for a valid password.
Example
Password must be at least 8 characters and must contain at least 1 number.
- For Maximum Login Attempts, enter the number of times a user is allowed to enter an incorrect password before being locked out of Loftware Enterprise SP.
Tip: If a user exceeds the number of sign in attempts, that user is locked out. To reactivate a user's access, select the user in Access Control
- Click Save.
Password Pattern Examples
Example | Definition |
---|---|
.{8,50} |
8 character minimum and a 50 character maximum. |
.{8,} |
8 or more characters. |
.{8} |
Exactly 8 characters. |
Password Contents Examples
You can use several strings in combination to create a stronger password requirement.
Example | Definition |
---|---|
(?=.{8,50}) |
8 character minimum and a 50 character maximum. |
(?=.*[a-z]) |
At least one lowercase character. |
(?=.*[A-Z]) |
At least one uppercase character. |
(?=.*[!@#$%&*\<\>\(\)\[\]\{\}\|\^\-\=\+\*\$\!\?\.\\]) |
At least one special character from the list: |
(?=.*[0-9]) |
At least one numeric character. |
(?=.*[a-z].*[a-z]) |
At least two lowercase characters. |