## Uncomment and modify the properties below to change the default password configuration.
## Enables or disables password policy.
## Default value is true.
#security.password.policy=true
## Minimum password length.
## Default value is 8.
#security.password.policy.min_length=8
## Minimum number of different character types.
## Default value is 2.
#security.password.policy.min_character_types=2
## Minimum number of days between password changes.
## Default value is 0 (feature is disabled)
#security.password.policy.min_age=0
## Maximum number of days a password remains valid.
## Default value is 0 (feature is disabled)
#security.password.policy.max_age=0
Password policy configuration
Starting with CloverDX version 7.2, access for users in the clover domain is secured by a default password policy that requires passwords to be at least 8 characters long and to include characters from at least two of the following categories: lowercase letters, uppercase letters, digits, or special characters. All newly created passwords will enforce this policy.
By default, passwords do not expire, and there are no restrictions on the minimum number of days between password changes.
If you wish to modify this logic or disable it, you can do so by adding the following properties to the configuration file. If any of these properties are modified, the application server needs to be restarted for the changes to take effect.
| Property | Description |
|---|---|
Enables or disables the password policy. By default, the value is set to |
|
Defines the minimum password lenght. By default, the limit is set to |
|
Defines the minimum number of distinct character types required in a password. Character types include lowercase letters ( |
|
Specifies the minimum number of days a user must wait before they can change their password again. The default value is |
|
Specifies the maximum number of days a password remains valid. After this period, users are required to set a new password upon login. The default value is Users with the appropriate permissions can reset this limit for all users in the User module. All users can view the number of days remaining until their password expires in their user menu. |
See below for an example of the password-related properties in a configuration file: