Google Search

Monday, May 5, 2014

OIM 11G R2 PS2 Custom User ID Plugin Generation

OIM 11G R2 PS2  Custom User ID Plugin Generation

Below steps will cover how to generate User ID based on First Name and Last Name

  1. Create a custom jar file which will implements User ID Generation on OIM User Form based on First Name and Last Name
  2. Create a UserIDGenerator. zip file which includes our custom jar
Directory Structure:        lib\UserIDGenerator.jar
                                                Plugin.xml
  1. Place it under $OIM_HOME\server\plugins

  1. Update ant. properties file which is under OIM_HOME/server/pluggin_utiltiy

  1. Register the plug-in using ant utility

Enter the required Credentials


Verify plug-in registration is successful or not

  1. Verify plug-in is successfully updated OIM DB in Plugins table

  1. Login to OIM sysadmin console by enters URL as http://oim_hostname:port/sysadmin
  2. Go to System Configuration tab

  1. Open Default Policy for User Name Generation system property and update OOTB property oracle.iam.identity.usermgmt.impl.plugins.DefaultComboPolicy value with our custom plug-in com.oml.iam.plugins.UserIDGenerator

Verify the User ID logic has been working or not by creating new user and check duplication scenarios. Note: Ran PurgeCache If above plug-in logic is not working.

No comments:

Post a Comment