Skip to main content

Upload Jar and Register Plugin in OIM 11g R2



modify ant.properties file for below setting /Middleware/Oracle_IDM1/server/plugin_utility

wls.home=/l01/apps/oracle/fmw/Middleware/wlserver_10.3
oim.home=/l01/apps/oracle/fmw/Middleware/Oracle_IDM1 /server
login.config=${oim.home}/config

These environment variables must be set
export MW_HOME=/l01/apps/oracle/fmw/Middleware
export DOMAIN_HOME=/l01/apps/oracle/fmw/Middleware/user_projects/domains/iam_domain
export APP_SERVER=weblogic
export OIM_ORACLE_HOME=$MW_HOME/Oracle_IDM1
export ORACLE_HOME=$MW_HOME/Oracle_IDM1
export WL_HOME=$MW_HOME/wlserver_10.3
export ANT_HOME=$MW_HOME/modules/org.apache.ant_1.7.1
export JAVA_HOME=/l01/apps/oracle/java/jdk1.7.0_79
export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$ORACLE_HOME/OPatch:$PATH
Upload Jar Steps
/l01/apps/oracle/fmw/Middleware/Oracle_IDM1/server/bin # ./UploadJars.sh

Enter the oim user id:xelsysadm
Enter Password
Enter t3 url : t3://Host:oimport
Enter context: weblogic.jndi.WLInitialContextFactory
Enter path for Jar to upload
Register plugin steps
Go to directory
/l01/apps/oracle/fmw/Middleware/Oracle_IDM1/server/plugin_utility

Execute command: ant -f  pluginregistration.xml register
Enter the oim user id:xelsysadm
Enter Password
Enter t3 url : t3://Host:oimport
Enter context: weblogic.jndi.WLInitialContextFactory
Enter path of pluginjar:

Comments

Popular posts from this blog

OIM Common Tables and queries OIM 11gR2 PS2/PS3 tables and queries, OIM useful Queries, OIM sql queries, OIM Database queries, OIM tables, OIM queries svr — IT Resource information. (svr_key is primary key) spd — IT resource parameter Definition information svd  – IT Resource Type Definition. app_instance  — Application Instance Information (app_instance_key is the primary key) It will have itresoucre_key to link with svr_key in svr table and object_key to link with obj_key in obj table. obj — Resource Object information (obj_key) obi  — Object Instance information  (obi_key) catalog  — Request Catalog Information (applications instances, roles, entitlements) (Catalog_id) orc  — It stores any users account instance information (orc_key) ost  — It stores the object status information (ost_key) Note : never link ost and obj table directly, we have to link ost and oiu table with ost_key and then obi and oiu with obi_key and then ...

Steps Developing Schedule Task with OIM 11g R2

Steps Developing Schedule Task with OIM 11g R2 1.      Create a java class by implementing oracle.iam.scheduler.vo.TaskSupport interface. Include the following JAR files in the class path to compile a custom class: From  OIM_INSTALL_HOME/ server/platform iam-platform-kernel.jar iam-platform-utils.jar iam-platform-context.jar iam-plaftorm-authz-service.jar From  OIM_INSTALL_HOME / designconsole/lib oimclient.jar xlAPI.jar All other JAR files like xlVO.jar and xlScheduler.jar Create a library of JAR files containing the custom classes. Sample java code package com.scheduletask; import java.util.HashMap; import oracle.iam.identity.usermgmt.api.UserManager; import oracle.iam.identity.usermgmt.vo.User; import oracle.iam.platform.Platform; import oracle.iam.scheduler.vo.TaskSupport; public class CreateNewUser extends TaskSupport{    @Override ...