Showing posts with label OIM 11g R2 UDF. Show all posts
Showing posts with label OIM 11g R2 UDF. Show all posts

Tuesday, February 12, 2013

Sample LDIFs to create custom Attribute and Custom Objectclass in OUD


Custom Attribute (custattr.ldif):

1
2
3
4
dn: cn=schema
changetype: modify
add: attributetypes
attributeTypes: ( 3.5.7.7.1.1.1 NAME 'customattr'  DESC 'customattr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{100} SINGLE-VALUE X-ORIGIN 'RFC 4519' USAGE userApplications  )

Sample command to execute:
ldapmodify -h testlab.com -p 1389 -D "cn=Directory Manager" -w password -v -a -f /home/oracle/LDIFFILES/custattr.ldif > /home/oracle/LDIFFILES/custattr.txt


Custom Objectclass (custObjectclass.ldif):

1
2
3
4
dn: cn=schema
changetype: modify
add: objectClasses
objectClasses: ( 3.5.7.7.1.1 NAME 'customPerson'  DESC 'Custom obj class' SUP orclIDXPerson  STRUCTURAL  MAY ( customattr ) )

Sample command to execute:
ldapmodify -h testlab.com -p 1389 -D "cn=Directory Manager" -w password -v -a -f /home/oracle/LDIFFILES/custObjectclass.ldif > /home/oracle/LDIFFILES/custObjectclass.txt

Monday, December 3, 2012

Creating a Custom UDF in OIM 11g R2

High level steps to Create a Custom Attribute are as follows:

1. Create Custom LDAP Attributes in OUD using ODSM.
2. Add this Attribute as Optional in OrclIDXPerson Object Class.
3. Login to OIM System Administration screen and create OIM Custom Attribute in User form and specify the Custom Attribute created in Step 1 as LDAP Attribute. (Create a sandbox and publish it after creating the Attribute)
4. Add this Attribute in the Create User, Modfiy User, and View User Details Page.
5. Create a user with adding value in the Custom Attribute and this value will be saved in OUD.

Detailed information about adding an UDF in OIM 11g R2 is available in the following document:

The below document outlines the detailed steps of Creating an Custom Object Class and Custom Attributes and Use this Custom Object Class to Create an user in OIM and OUD.