Posts

Useful OIM Queries and tables in 11G R2 PS3

1. ORG_USER_MEMBERSHIPS --- Users Organizations details The below query give the list of users belongs to organization XXXXX select USR_LOGIN,USR_DISPLAY_NAME,ACT_NAME as "ORGANIZATION" from ORG_USER_MEMBERSHIPS,usr,act where ORG_USER_MEMBERSHIPS.act_key = act.act_key and usr.usr_key =ORG_USER_MEMBERSHIPS.usr_key and ACT_NAME = 'XXXXX' order by ACT_NAME desc; 2. USR -  User and Users Manager login in single query select u.USR_KEY,u.USR_LOGIN,u.USR_DISPLAY_NAME, u1.USR_KEY as "Manager USR_KEY",u1.USR_LOGIN as "Manager Login",u1.USR_DISPLAY_NAME as "Manager DisplayName" from usr u join usr u1 on u1.USR_KEY = u.USR_MANAGER_KEY --where u.usr_login ='XXXX'; for XXXX user manager details 3. USR -- The below query gives you list of users whose manager is XXXXXXX select u1.USR_KEY,u1.USR_LOGIN,u1.USR_DISPLAY_NAME,u.USR_KEY as "Manager Key",u.USR_LOGIN as "Manager Login",u.USR_DISPLAY_NAME as ...

Query to Join on the same table

Below query helps us in getting User login and Manager login in single query Basically in OIM USR table we have user user key, user login and manager key fields, so if we want User login and Manager login in the single query we can use below query. select u.USR_KEY,u.USR_LOGIN,u.USR_DISPLAY_NAME, u1.USR_KEY as "Manager USR_KEY",u1.USR_LOGIN as "Manager Login",u1.USR_DISPLAY_NAME as "Manager DisplayName" from usr u join usr u1 on u1.USR_KEY = u.USR_MANAGER_KEY --where u.usr_login ='User login  Id';

Setting up Pending Approvals View for Approvals Tasks in OIM

Image
Sometimes Approval tasks lists in Inbox instead of Pending Approvals view. This is because when we add a new approval human task into the composite, we have to define where this task should list; if we miss this configuration the task by default will be listed in Inbox. In this post we will learn how to configure the task to list in Pending approvals. 1. Login to http://hostname:8001/integration/worklistapp/  with weblogic credentials 2. Select PENDING_APPROVALS_VIEW and click on Edit(Pencil) in the left panel 3. Select the tasks[use control key to select multiple human tasks] 4. Click on OK to save the settings. Create new request to check tasks in Pending Approvals View.

Deployment of starter pack in OIM

Basically starter pack contains ADF customizations, you can find starter pack in the below location ../Oracle_HOME/server/apps Create / update your ADF project according to your requirement and build a jar. copy './Oracle_HOME/server/apps/server/apps/oracle.iam.ui.custom-dev-starter-pack.war' starter pack to your local machine Unzip using below command in command prompt jar -xvf oracle.iam.ui.custom-dev-starter-pack.war add your jar file to WEB-INF\lib\ zip to starter pack[home directory ie where your extracted war file, delete original file in the home directory] jar -cvf oracle.iam.ui.custom-dev-starter-pack.war * copy to the below location ./Oracle_HOME/server/apps Restart the OIM server

Setting session timeout OIM 11G R2 PS3

This article will show you how to change session timeout  for the Identity Self Service and Identity System Administration pages. The instructions I followed to change the session timeout are below Shut down all servers Modify $ORACLE_HOME/server/apps: oracle.iam.console.identity.self-service.ear oracle.iam.console.identity.sysadmin.ear It is highly recommended to back up these files. Copy these files to local machine and edit using 7zip 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 For both web.xml files, search for the session-timeout tag and place your desired value. The unit is in minutes. <session-config>     <session-timeo...