Skip to main content

Posts

Showing posts from August, 2014

Installation of Oracle Unified Directory (OUD) 11.1.2.2 - High Level Steps

Download the OUD from the Fusion Middleware download page: http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.html  Unzip the Software and run ./runInstaller -jreloc <JDK_location> from Disk1. Provide the existing middleware location and it will install the OUD home under middleware (Oracle_OUD1). OUD can be installed in 3 different modes 1. Replication gateway 2. OUD-Proxy and 3. Directory server. Navigate to <Middleware_home>/Oracle_OUD1/ and run oud-proxy-setup for installing OUD as proxy server, oud-replication-gateway-setup for replication mode and oud-setup for directory server. Run oud-setup command and provide details like ports, root domain values to complete the setup. After running oud-setup command a instance of OUD would be created as as_inst1 in middleware. to start and stop the OUD navigate to <Middleware_home>/as_inst1/OUD/bin and run start-ds and stop-ds commands. OVD/OID ODSM can not connect to OUD for da

Providing System Admin Role to a user : OIM 11g R2 PS2

Login to the identity console with existing Admin credentials (xelsysadm). Create a user to whom System admin roles have to be assigned. Click on the Organization and search for Top organization. Select the System Admin role from the Admin Roles tab and select assign from action. Search the newly created user and add selected. Click apply and user will be provided the system role. Other Admin roles can also be provided by same method.

To Show Certification configuration in Sysadmin Console- OIM 11g R2 PS2

By default the certification configuration is not seen when a Admin user logs into the sysadmin console. To see this configuration login to the sysadmin console -->System Configuration. In the system configuration tab search for System Property "Display Certification or Attestation" If both is given as the value then certification and attestation both will be shown. To show only certification or attestation provide the value of either certification or attestation. 

Creating Role through OIM API - 11gR2

package com.oim.utilities; import java.util.HashMap; import oracle.iam.identity.rolemgmt.api.RoleManager; import oracle.iam.identity.rolemgmt.api.RoleManagerConstants; import oracle.iam.identity.rolemgmt.vo.Role; import oracle.iam.platform.OIMClient; public class RoleManagement  { static RoleManager roleManager=null; static OIMClient client=null; @SuppressWarnings("null") public static void createRole(String roleName){ System.out.println("RoleManagement :: createRole :: role name is "+roleName); try  { if (roleName!=null) { HashMap<String, Object> mapAttrs = new HashMap<String, Object>();; mapAttrs.put(RoleManagerConstants.ROLE_NAME, roleName); mapAttrs.put(RoleManagerConstants.ROLE_DISPLAY_NAME,roleName); mapAttrs.put(RoleManagerConstants.ROLE_DESCRIPTION, roleName); Role role = new Role(mapAttrs); // Initialising the OIM Connection client=ClientOIM.initialise(); System.out.println("RoleManagemen

OIM connection with API- 11g R2

package com.oim.utilities; import java.util.HashSet; import java.util.Hashtable; import java.util.Set; import Thor.API.tcUtilityFactory; import oracle.iam.identity.exception.NoSuchUserException; import oracle.iam.identity.exception.SearchKeyNotUniqueException; import oracle.iam.identity.exception.UserLookupException; import oracle.iam.identity.usermgmt.api.UserManager; import oracle.iam.identity.usermgmt.vo.User; import oracle.iam.platform.OIMClient; public class ClientOIM { private static OIMClient oimClient = null;     private static tcUtilityFactory util = null;     static UserManager userManager = null;     private static String hostName = "oim.server.com";     private static String port = "14000";     private static String userName = "xelsysadm";     private static String password = "Welcome123";     private static String serverURL = "t3://" + hostName + ":" + port;     private static String authC

UI Customization in OIM 11g R2 (Adding new Header Section)

Login to the sysadmin console and create a new sandbox and activate it. Click on System Entities --> User and add new UDF field as Manager. Create Manager field as check box. After adding the field publish the sandbox. Add Custom Attributes to the User Interface (Create User Form): 1.       Log into the Self Service interface. Create and activate a sandbox 2.       Go to Administration --> Users and click Create 3.       Fill out the required fields; Last name, Organization, User Type 4.       Click Customize 5.       Click on View --> Source 6.       Note:  If you are asked “Are you sure you want to edit this task flow” , click Edit 7.       Click on showDetailHeader:  Other Attributes and click Add Content 8.       Click on Web Components --> Open 9.       Click on Show Detail Header--> Add, then click close 10.   Cut the new object, and paste (after) showDetailHeader: Other attributes 11.   Find the newly created showDetailHeader:  Head