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';