Define Error Message for Custom Password Policy

You can define error messages for a custom password policy to inform the user of password rules and lists the reasons for the rejected password changes.

The error messages inform the user of password rules and lists the reasons for rejected password changes. The custom password error messages are defined in the Login_language_dir.properties_uniqueID_ext files. If custom-specific text is not provided, the default error message is returned to the user. The Login_language_dir.properties_uniqueID_ext file is not part of the default system code. It must be created after the initial system installation and populated to match your environment.

To define error message for a custom password policy extension:

  1. Navigate to the /install_dir/install/properties/lang/language_dir directory.
    Where language_dir is the language set for the customer's locale (for example, en, ja, fr).
  2. Edit the Login_language_dir.properties_uniqueID_ext file.
    Where language_dir is the language set for the customer's locale and <filename> is the unique identifier for the new custom password extension. For example: Login_en.properties_custompasswd_ext.
  3. Add an entry to the file for the error condition set in the custom extension file and define the descriptive string to return to the user.
    For example, nogood = The password must contain a minimum of one lower case character, one upper case character, and one digit or special character.
  4. Save and close the file.