Customizing Password Policy Exception Messages - Identity Manager
search cancel

Customizing Password Policy Exception Messages - Identity Manager

book

Article ID: 198486

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite

Issue/Introduction

This article explains the procedure for modifying specific Identity Manager exception messages, such as password dictionary violations, using resource bundle property files.

Environment

Identity Manager 14.5 & 15

Cause

Default exception messages are stored in IMSExceptions_en.properties files. Customizing these strings allows for localized messaging, branding compliance, or clearer instruction for end-users when password policies are violated.

Resolution

  1. Locate the Configuration File:

    • Standard Installation: Navigate to <wildfly_home>/standalone/deployments/iam_im.ear/custom/resourceBundles/IMSExceptions_en.properties.
    • Virtual Appliance (vApp): Navigate to /opt/CA/wildfly-idm/standalone/deployments/iam_im.ear/custom/resourceBundles/IMSExceptions_en.properties.
    • Note: Use the 'config' user when modifying files on the Virtual Appliance.
  2. Modify the Message:

    • Open the IMSExceptions_en.properties file in a text editor.
    • Locate the relevant key (e.g., the entry corresponding to the "Password must not match dictionary entry" error).
    • Update the value following the equals sign (=) to the desired custom text.
  3. Language Support:

    • To modify messages for languages other than English, edit the corresponding IMSExceptions_XX.properties file (e.g., fr for French, es for Spanish).
  4. Apply Changes:

    • Restart the application server to ensure the updated resource bundle is loaded.

Additional Information

For further informatioin, see documentation IMSException - 14.5 or IMSException - v15