Skip to main content

Posts

Showing posts from June, 2015

Auto Approval for Self-Register Users- OIM 11g R2

For Auto Approving the self register user we need to do below steps: 1. Create an Event handler to Prepopulate the organisation key for the users. 2. Create an auto approval policy for Request level self register users. 3.  Create an auto approval policy for Operational level self register users. Create an Event handler to Prepopulate the organisation  key for the users: Create a class to prepopulate the Organisation value. Below is the sample code to do that. package com.oracle.oim.utility.eventhandler; import java.io.PrintStream; import java.io.Serializable; import java.util.HashMap; import java.util.Set; import oracle.iam.identity.exception.OrganizationManagerException; import oracle.iam.identity.orgmgmt.api.OrganizationManager; import oracle.iam.identity.orgmgmt.vo.Organization; import oracle.iam.identity.usermgmt.api.UserManagerConstants; import oracle.iam.identity.usermgmt.api.UserManagerConstants.AttributeName; import oracle.iam.identity.usermg