Monday, January 27, 2014

Modify OIM11gR2 Session Timeout

Version: Oracle Identity Manager 11g R2
Description: This guide will show you how to increase or decrease session timeout  for the Identity Self Service and Identity System Administration pages.

You will need to modify the following ear files located in $MW_HOME/Oracle_IDM1/server/apps:
  • oracle.iam.console.identity.self-service.ear
  • oracle.iam.console.identity.sysadmin.ear
It is highly recommended to back up these files.


Within these ear files only the web.xml needs to be modified. Given below is the full path to the web.xml:
  • oracle.iam.console.identity.self-service.ear/oracle.iam.console.identity.self-service.war/WEB-INF/web.xml
  • oracle.iam.console.identity.sysadmin.ear/oracle.iam.console.identity.sysadmin.war/WEB-INF/web.xml
If you are using jar command to extract the archive file, make sure the structure of the entire archive file is preserved. On Windows 7-zip has a GUI that allows you to edit a file within nested archive files without you having to extract and re-pack.


For both web.xml files, search for the session-timeout tag and place your desired value. The unit is in minutes.

<session-config>
    <session-timeout>15</session-timeout>
 </session-config> 

Restart the OIM server for the changes to take in effect.

No comments:

Post a Comment