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, the validator.password property must be changed to com.openkm.validator.password.CompletePasswordValidator or Creating your own password validator.

Field / PropertyTypeDescription
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.

Numeric value greater than 0.

validator.password.max.length String

Maximum length allowed.

Numeric value greater than 0.

validator.password.min.lowercase String

Minimum number of lowercase characters.

Numeric value greater than 0.

validator.password.min.uppercase String

Minimum number of uppercase characters.

Numeric value greater than 0.

validator.password.min.digits String

Minimum number of digits.

Numeric value greater than 0.

validator.password.min.special String

Minimum number of special characters.

Numeric value greater than 0.

Sample configuration

  • Must have at least 8 characters.
  • Must have at least 1 uppercase character.
  • Must have at least 1 digit.
Field / PropertyTypeDescription
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

 

Table of contents [ Hide Show ]