Posts

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

Decrypting 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"; ...

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.