The Edge UI auto generates user passwords for new users. Users are typically then sent an email that allows them to change the auto generated password.
By default, the Edge UI auto generates passwords that are compatible with the default password rules defined on the Edge Management Server. These rules specify that passwords are at least eight characters long and include at least one special character and one upper-case character. See Resetting Edge passwords for information on how to configure Edge password rules.
You can change the password rules on the Management Server to make passwords more strict. For example, you can increase the minimum length to 10 characters, require multiple special characters, etc. If you change the rules on the Management Server, you also have to change the Edge UI to auto generate passwords compatible with the new rules.
The Edge UI define four properties that you use to set the rules for auto generating password:
conf_apigee-base_apigee.forgotPassword.underscore.minimum="1" conf_apigee-base_apigee.forgotPassword.specialchars.minimum="1" conf_apigee-base_apigee.forgotPassword.lowecase.minimum="1" conf_apigee-base_apigee.forgotPassword.uppercase.minimum="1"
To set these properties:
- Open the
ui.propertiesfile in an editor. If the file does not exist, create it:
- Set the properties:
conf_apigee-base_apigee.forgotPassword.underscore.minimum="2" conf_apigee-base_apigee.forgotPassword.specialchars.minimum="3" conf_apigee-base_apigee.forgotPassword.lowecase.minimum="2" conf_apigee-base_apigee.forgotPassword.uppercase.minimum="2"
- Save your changes.
- Make sure the properties file is owned by the 'apigee' user:
chown apigee:apigee /opt/apigee/customer/application/ui.properties
- Restart the Edge UI:
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart