Password validation configuration
Password validation enables the application to set a couple of rules that passwords must meet. By default, the application performs no password checking ( validator.password property is set by default to com.openkm.validator.password.NoPasswordValidator ).
To enable the validator, validator.password must be changed to com.openkm.validator.password.CompletePasswordValidator or create your own password validator.
| Field / Property | Type | Description |
|---|---|---|
| validator.password | String | Description Available: - com.openkm.validator.password.NoPasswordValidator - com.openkm.validator.password.CompletePasswordValidator com.openkm.validator.password.NoPasswordValidator |
| validator.password.min.length | String | Minimum length allowed. A numeric value greater than 0. |
| validator.password.max.length | String | Maximum length allowed. A numeric value greater than 0. |
| validator.password.min.lowercase | String | Minimum number of lower-case characters. A numeric value greater than 0. |
| validator.password.min.uppercase | String | Minimum number of upper-case characters. A numeric value greater than 0. |
| validator.password.min.digits | String | Minimum number of digits. A numeric value greater than 0. |
| validator.password.min.special | String | Minimum number of special characters. A numeric value greater than 0. |
Sample configuration
Section titled “Sample configuration”- Must have at least 8 characters.
- Must have at least 1 upper-case character.
- Must have at least 1 digit.
| Field / Property | Type | Description |
|---|---|---|
| validator.password | String | com.openkm.validator.password.CompletePasswordValidator |
| validator.password.min.length | String | 8 |
| validator.password.max.length | String | |
| validator.password.min.lowercase | String | |
| validator.password.min.uppercase | String | 1 |
| validator.password.min.digits | String | 1 |
| validator.password.min.special | String |