Password validation configuration

Validation password enables the application to set a couple of rules that should be accomplished by passwords. By default, application makes no password checking ( validator.password property is set by default to com.openkm.validator.password.NoPasswordValidator ).

To enable validator password must change 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 lower-case characters.

Numeric value greater than 0.

validator.password.min.uppercase String

Minimum number of upper-case characters.

Numeric value greater than 0.

validator.password.min.digits String

Minimum number of digits.

Numeric value greater than 0.

validator.password.mini.special String

Minimum number of special characters.

Numeric value greater than 0.

Sample configuration

  • Must have at least 8 characters.
  • At least must have 1 upper-case character.
  • At least must have 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.mini.special String