Thursday, November 3, 2011

OIA-OIM 11.1.1.5 integration- Mapping Custom Attributes

I am assuming that you have a UDF called USR_UDF_SSN in OIM and you would like to map to custom property customProperty1 in OIA. I am also assuming that you have your OIA web exacted into folder "rbacx" and have deployed this into WLS.

1. Open the rbacxmessages.properties file located in rbacx/Web-Inf/classes and search for user.customProperty1 and change the label to what you like . In this example it will be

user.customProperty1=Social Security Number

2. Repeate the same step for rbacxmessages_en.properties file .

Here is the Doc on User Label configuration

http://download.oracle.com/docs/cd/E24179_01/doc.1111/e23377/customizingtheui.htm#CIAGHDDA

3. Open the file oim-commons-context.xml located in rbacx/Web-Inf folder search for section "iamUserToUserCustomProperties". Put an entry <entry key="customProperty1" value="USR_UDF_SSN"/> in this section. in this section.

Your entry will look like this

<util:map id="iamUserToUserCustomProperties">
<entry key="customProperty1" value="USR_UDF_SSN"/>
<!--entry key="customProperty1" value="usr_udf_cust1"/>
<entry key="customProperty2" value="usr_udf_cust2"/>
<entry key="customProperty19" value="usr_udf_cust19"/-->
</util:map>



Restart the OIA Server. Now either create a new user or modify the UDF on OIM side. Make sure that user import job is running periodically . Check the UDF field getting updated on OIA side.



3 comments:

Anonymous said...

Hi Ananth,

Followed the steps you described, but this doesn't work for me. I am also running OIA 11.1.1.5. Checked Oracle Support and found the following Bug - 13011879 USER'S CUSTOM PROPERTY LABELS DO NOT REFLECT CHANGES IN RBACXMESSAGES.PROPERTIES. The product version for the bug is 11.1.1.3.5, but I am experiencing the same result with the latest version of OIA.

Anonymous said...

I should state that the custom property does come across from OIM to OIA. The issue is only with creating a custom label.

Anonymous said...

I did Integration of OIA 11.1.1.5.0 with OIM 11.1.1.5.0, and its importing users into OIA.

I have mapped all attribute in oim-common-context.xml file.




customproperty16 is VARCHAR2(100) in OIA where USR_UDF_TRANSFERDATE is DATE data type in OIM, When I do import users into OIA, this customproperty16 is not updating with new value.
How ever, other attributes values are importing from OIM.

Can you please suggest on this, its very urgent.

Thanks.