This post explains to customize challenge questions in OIM11gR2. In OIM, we can customize the number of challenge questions displayed in console for users.
The steps to Update the number of challenge Questions in OIM11GR2 is explained here.
To add custom challenge question in OIM11gGR2
Login to Oracle Identity System Adminstrator Console, click on Lookups under Configurations .
Search for Lookup.WebClient.Questions
To Add a new Challenge Questions , click on the Edit Lookup Type button.
In the Edit Lookup Type page, Click on Actions->Create to add a new challenge question .
Enter the values for Meaning and code and click on Save.
The new challenge question will be added to OIM .
For localization support for challenge questions update the custom resources properties files for the corresponding languages . The custom resources files are located under $ORACLE_OIM_HOME/server/customresources directory.
Configure the Challenge questions in Identity Self Service and Identity System Administrator Page
To set challenge questions for the user who is logging in to Oracle Identity Self Service or Oracle Identity System Administration follow the below steps,
Login to identity self service as system administrator user .
Create and active a sandbox.
Open the My Information page. Collapse the Basic Information section, and expand the Challenge Questions section
Click Customize. Then the toolbar, select View, Source.
Click the third question, and click OK to confirm editing the taskflow
In the source tree, select the greyed-out panelGroupLayout just after the third question. This contains the fourth question. Right-click this panelGroupLayout, and then select Show Component. This will enable the 4th challenge question in Self Service page.
Similarly enable the challenge questions for user registration page by going to /faces/register page.
For Forgot Password page go to /identity/faces/forgotpassword and enable 4th question .
Finally to enable 4th challenge question at the time of first login , go to/identity/faces/firstlogin?action=setchallenges and enable 4th questions as shown below,
publish the sandbox .