Monday, April 17, 2017

OIM: Copy design console to Windows

·        Copy Design Console Folder to Windows from OIM_HOME
·        Edit xlclient.cmd
o   Provide Java Location: "C:\Program Files\Java\jdk1.6.0_24\bin\java"
o   Design Console Location(HomeDir): “C:\Rohit\designconsole”
o   Edit path of auth.login.config: config\authwl.conf
·        Navigate to the config folder
·        Edit xlconfig.xml
o   Give hostname and port at two places.
o   <java.naming.provider.url>t3://<OIM_HOST>:<OIM_PORT>/oim</java.naming.provider.url>
·        jrf-api.jar will also be required in ext folder of design console for resolving portability error.

·        Add the entry(for jrf-api.jar) in classpath file(classpath.bat).

Thursday, April 6, 2017

OIM: Lookup Query

SELECT LKU.LKU_TYPE_STRING_KEY AS "Lookup Name", LKV.LKV_ENCODED AS "Code Key", LKV.LKV_DECODED AS "Decode Key" from LKV, LKU 
WHERE lower(LKU.LKU_TYPE_STRING_KEY) like '<your_lookup_name_in_lower_case>' and 
LKV.lku_key = LKU.lku_key 

order by LKU.LKU_TYPE_STRING_KEY;

Friday, March 31, 2017

Java: Read values from a comma separated string

String commaSprtdStr = "abc, def, ghi, xyz";
String valueAtIndex = commaSprtdStr.split(",")[index];

The index of the first value is 0

Thursday, March 30, 2017

Java: List to comma separated string

There are multiple ways, I find the following way pretty useful:

1. Download the jar 'common-lang3.jar'
2. Add the jar in your classpath.
3. The following lines of code, coverts your list to comma separated list
       import org.apache.commons.lang3.StringUtils
   StringUtils.join(yourList, ',');

Tuesday, March 21, 2017

SOA: Enable auto claim in SOA human task

Add the following line in the .task file in your composite.
<enableAutoClaim>true</enableAutoClaim> inside <workflowConditions> </workflowConditions> tag

Monday, March 13, 2017

OIM UDFs: Data Components associated



Entity                Page                     Data ComponentView Object
User
Create User
Data Component - Catalog
userVO
Modify User
Data Component - Catalog
userVO
Search Users
Data Component - Manage Users
UserVO1
View User Details
Data Component - Manage Users
UserVO1
My Information
Data Component - My Information
UserVO1
New User Registration
Data Component - User Registration
UserVO1
Role
Create Role
Data Component - Role
RoleDetailsVO
Modify Role
Data Component - Role
RoleDetailsVO
Search Roles
Data Component - Role
RoleVO1
Organization
Create Organization
Data Component - Organization
EditOrgVO
Modify Organization
Data Component - Organization
EditOrgVO
Search Organizations
Data Component - Organization
OrganizationVO

Thursday, March 9, 2017

OIM query to find entitlements associated with application instance

SELECT ent.ent_code AS "Entitlement Name", ent.ent_display_name AS "Entitlement Display Name" from ent_list ent
INNER JOIN app_instance app_instance ON
app_instance.object_key = ent.obj_key AND
app_instance.itresource_key = ent.svr_key AND
app_instance.app_instance_name = 'ActiveDirectory';