Posts

Showing posts from April, 2018

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...

Decryption of OIM Password in 11GR2PS3

The below code is used to decrypt the user password in OIM 11GR2PS3. I tried to decrypt using standalone code in JDeveloper and came to know its not possible using standalone code. So please create a scheduler to decrypt the password. package com.ghr; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.HashMap; import oracle.iam.platform.Platform; import oracle.iam.scheduler.vo.TaskSupport; import tc.idm.common.utils.TSLogger; import com.thortech.xl.crypto.*; public class DecryptOIMUserPassword extends TaskSupport {     public static final String TS_SCHEDULER_LOGGER = "TC.SCHEDULER";     TSLogger logger = new TSLogger(TS_SCHEDULER_LOGGER);     private String className = this.getClass().getName();          public void execute(HashMap taskParams) throws Exception {         String methodName = "execute"; ...

Clean restart of OIM Servers

I personally recommend below steps/order to restart complete OIM stack servers. Shut down servers( follow below order) BIP Server SOA Server OIM Server You can stop servers using weblogic console or using below commands in the below path cd /opt/apps/oracle/Oracle/Middleware/user_projects/domains/weblogic/bin 1. BIP Server nohup ./stopManagedWebLogic.sh bi_server > bi_server.log & 2. SOA Server nohup ./stopManagedWebLogic.sh soa_server > soa_server.log & 3. OIM Server nohup ./stopManagedWebLogic.sh oim_server > oimserver.log & 4. Admin Server nohup ./stopWeblogic.sh & Delete tmp and cache in bi/soa/oim servers Remove content in the below directories /opt/apps/oracle/Oracle/Middleware/user_projects/domains/weblogic/servers/***_server/tmp/ /opt/apps/oracle/Oracle/Middleware/user_projects/domains/weblogic/servers/***_server/cache/ rm -rf * Starting servers Start Order 1. Start Admin ...