Built-In Password Policy
The built-in password policy requires all passwords to meet the following criteria:- user data (i.e., user id, first name, last name, email) must not be contained
- minimum length of 10 characters
- at least 1 upper case character
- at least 1 lower case character
- at least 1 digit
- at least 1 special character
Customize the Password Policy
You can use the process engine configuration to enable / disable the password policy or plug in a custom policy. See Process Engine Bootstrapping on how to set properties for your ASEE Flow environment. To enable or disable the password policy checks you need to set theenablePasswordPolicy property.
If you want to use a custom password policy you can do this by implementing the PasswordPolicy and PasswordPolicyRule interfaces from the org.camunda.bpm.engine.identity package and provide your implementation to the process engine configuration by setting the passwordPolicy property.
getPlaceholder and getParameters a custom front end can display error messages based on the rules and their configuration. (e.g. “The password must at least have a length of X characters” with X being configurable and passed within the parameter map)
A rules execute method checks if the entered password meets this rule or not. It is executed when trying to save a user.