Friday, February 28, 2014

Delete UDFs using OIM API

Version: Oracle Identity Manager 11g
Description: Oracle Identity Manager has an API service, namely ConfigManager, that allows developers to perform various operations on User Defined Field (UDF).

** WARNING USE AT YOUR OWN RISK **
This post will show you how to use ConfigManager API service to delete a UDF. The "deleteAttribute" method only deletes the attribute in the backend (USR, SDC, MV_USER_COLS, and User.xml metadata) and all the UI customizations are untouched. Once in a while the "deleteAttribute" method does not remove the backend data fully, and hence you would have to manually clear the data.

Friday, February 21, 2014

SSL for OIMClient

Version: Oracle Identity Manager 11g
Description: This will show you how to SSL for OIMClient on a stand alone Java application.

Prerequisite:

1. Ensure SSL listen Port for OIM is enabled.
  • Log into WebLogic Administration console.
  • Navigate to Servers -> OIM_SERVER.
  • Check mark SSL Listen Port Enabled and restart OIM server.
2. Include "webserviceclient+ssl.jar" and  "cryptoj.jar" in your project class path.

3. Execute the java application with the following jvm argument:
  • -Dweblogic.security.SSL.trustedCAKeyStore= {Demo Trust Keystore}
In WebLogic Administration console, navigate to Servers -> OIM_SERVER -> Keystores to see the location of your Demo Trust Keystore
E.g. /home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks

Friday, February 14, 2014

Configure Design Console to Use SSL

Version: Oracle Identity Manager 11g
Description: This post will show you how to setup SSL for designconsole.
Prerequisite:  Ensure SSL listen Port for OIM is enabled.

1. Log into WebLogic Administration console.
2. Navigate to Servers -> OIM_SERVER.
3. Check mark SSL Listen Port Enabled and restart OIM server.

Sunday, February 2, 2014

Import and Export Metadata using EM Console

Version: Oracle Identity Manager 11g R2
Description: The Enterprise Manager (EM) console has tools that allow you to import and export MDS files. The out-of-the-box import and export scripts, namely "weblogicExportMetadata", "weblogicImportMetadata", and " weblogic.properties", located in "$MW_HOME/Oracle_IDM1/server/bin" have been deprecated. An example is given here to show you how to use the EM import and export utilities.