PasswordRules
public class PasswordRules
- Model class to represent the password rules(attributes).
Field Summary
| Parameters | ||
|---|---|---|
| Int | allowInRow | Minimum consecutive chars allowed in a row. |
| Bool | allowInRowEnabled | Maximum no of same characters allowed in a row. |
| Int | min | Minimum password length. |
| Int | minAlphaCaps | Minimum number of alpha-caps allowed. |
| Bool | minAlphaCapsEnabled | If minimum alpha-caps check is enabled.. |
| Bool | minEnabled | If minimum characters check is enabled. |
| Int | minNumbers | Minimum number allowed. |
| Bool | minNumbersEnabled | If minimum numbers check is enabled. |
| Int | minSpecial | Minimum special characters allowed |
| Bool | minSpecialEnabled | If minimum special characters check is enabled. |
| Bool | noUsername | if username must not be used/ allowed in password. |
| Bool | noUsernameEnabled | if no user name is enabled. |
| String | specialCharsAllowed | What special chars are allowed |
| Bool | specialCharAllowedEnabled | if special characters are allowed. |