B Localizing Challenge Questions and Responses

The following default challenge questions are localized automatically in Oracle Identity Manager:

  • What is the name of your pet?

  • What is the city of your birth?

  • What is your favorite color?

  • What is your mother's maiden name?

Localized default challenge questions are located in the CommonModelBundle_LANG.properties file. Here, LANG is the locale code. Depending on the application server on which Oracle Identity Manager is deployed, the CommonModelBundle_LANG.properties file is available in one of following locations:

  • For IBM WebSphere Application Server

    To locate the CommonModelBundle_LANG.properties file:

    1. Navigate to the OIM_HOME\server\apps\was\lib\oracle.iam.ui.view directory.

    2. Extract the contents of the adflibCommonModel.jar file.

    3. Navigate to the oracle/iam/ui/common/model directory. The CommonModelBundle_LANG.properties file is available in this directory.

  • For Oracle WebLogic Application Server

    To locate the CommonModelBundle_LANG.properties file:

    1. Navigate to the OIM_HOME/server/apps/oracle.iam.ui.view.war directory and extract the contents of the WAR file.

    2. Navigate to the WEB-INF/lib directory and extract the contents of the adflibCommonModel.jar file.

    3. Navigate to the oracle/iam/ui/common/model directory. The CommonModelBundle_LANG.properties file is available in this directory.

Note:

The CommonModelBundle_LANG.properties file is also available in the OIM_HOME/server/apps/oracle.iam.ui.model.ear!APP-INF/lib/adflibCommonModel.jar location. To locate the CommonModelBundle_LANG.properties file, first extract the contents of the EAR file, and then the contents of the CommonModel.jar file.

If you add custom challenge questions to Oracle Identity Manager Design Console for lookup code Lookup.WebClient.Questions, then add corresponding properties to the common model bundles to localize the question text in the supported languages. Corresponding translations should be saved to the CommonModelBundle_LANG.properties file.

For example, you might add the new challenge question "What is your favorite sport?". To localize this text, add properties to the property files in the following format:

KEY_QUESTION-TEXT?=VALUE

Replace any white spaces in the question text with an underscore (_). For example, to localize the "What is your favorite sport?" challenge question in French, add the following property to the CommonModelBundle_fr.properties file:

KEY_WHAT_IS_YOUR_FAVORITE_SPORT?=Quel est votre sport favori?

To modify the text of the default challenge questions, add corresponding properties to the common model bundles (specific to the locale). For example, to modify the text of the "What is your favorite color?" question to use the British spelling (favourite and colour) instead of the American version (favorite and color), modify the following property in the CommonModelBundle_en.properties file:

KEY_WHAT_IS_YOUR_FAVORITE_COLOR?=What is your favourite colour?