Provisioning Oracle Identity Manager Accounts


Options



Before You Begin

Purpose

In this tutorial you will learn about Oracle Identity Manager Connectors and use the Oracle Identity Manager Connector for UNIX to provision an user account.

Time to Complete

45 minutes

Context

This tutorial is a part of the Getting Started with Oracle Identity Manager(OIM) 11gR2 PS3 series which includes:

Background

Oracle Identity Manager Connectors

Oracle Identity Manager automates access rights management, security, and provisioning of IT resources. Oracle Identity Manager connectors are used to integrate Oracle Identity Manager with external, identity-aware applications.

In this tutorial you will learn to install and use the connector that enables you to integrate Oracle Identity Manager with UNIX-based target systems using SSH or Telnet protocol. This connector enables you to use the target system as a managed (target) resource or as an authoritative (trusted) source of identity data for Oracle Identity Manager.

What Do You Need?

For completing this tutorial you will need:

  • An Environment with an Oracle Identity Management 11gR2 PS3 Environment installed and running.
Note:
  • The tutorial Setting-up an Oracle Identity Management 11gR2 PS3 Environment provides instructions on how to setup an Oracle Identity Management 11g R2 PS3 environment.
  • In this tutorial, you learn just the basic steps for downloading, installing and using an Oracle Identity Manager connector. For a detailed description of the concept of OIM connectors visit the OIM Official Documentation or sign-up for the OIM Essentials course.

Downloading the Connector

  1. To download the connector, open the browser on your Linux machine go to the Oracle Identity Management Connector Downloads page. Click Accept License Agreement:

    Oracle Identity Manager Connectors page
    Description of this image
  2. Scroll down to locate the UNIX Connector and click the ZIP file name corresponding to the connector (in this case GenericUnix-11.1.1.7.0.zip):

    Unix Connector Installation Files
    Description of this image
  3. When prompted enter your single sign-on password. Then, select Save File and click OK:

    Saving the UNIX Connector Installation File
    Description of this image
  4. When the download is complete, open a terminal and navigate to the folder where the zip file was downloaded and run the following commands:

    mkdir UNIX
    mv GenericUnix-11.1.1.7.0.zip UNIX
    cd UNIX
    unzip GenericUnix-11.1.1.7.0.zip
    
    This unzips the connector files into a directory called GenericUnix-11.1.1.7.0.zip under the directory UNIX.
    Extracting the Contents of the UNIX Connector Installation File
    Description of this image
  5. Now you will open the Oracle Identity Manager System Administration console. In your browser, enter the URL http://host01.example.com:14000/sysadmin. Enter the User ID xelsysadm and password as Welcome1. Click Sign In:

    Sign-in to the System Administration Console
    Description of this image
  6. Click Manage Connector:

    Installing the Connector - Step 1
    Description of this image

    Note: The Connector Installation window appears in a popup. Ensure that popups are not blocked by your browser.

  7. Click Install:

    Installing the Connector - Step 2
    Description of this image
  8. Enter /home/oracle/UNIX in the Alternative Directory field. This is the directory where you unzipped the connector files. Click Refresh:

    Specifying the Location of the Connector Install File
    Description of this image
  9. Select the Connector List drop down. The Generic UNIX connector is displayed in the connector list. Select the Generic UNIX Connector 11.1.1.7.0:

    Selecting the Connector to Install
    Description of this image
  10. Click Load:

    Loading the Connector Install Files
    Description of this image
  11. The connector is loaded and all dependencies are checked. Click Continue:

    Installing the Connector - Step 6
    Description of this image
  12. The connector is installed. Click Exit to close the connector installation window:

    Connector Installation Complete
    Description of this image
  13. Now you will clear the server cache by restarting your OIM server. To restart the OIM server, open a terminal window and enter the following commands:

  14. cd $DOMAIN_HOME/bin
    ./stopManagedWebLogic.sh oim_server1 (enter username as weblogic and password as Welcome1 if propmted)
    ./startManagedWebLogic.sh oim_server1 (enter username as weblogic and password as Welcome1 if propmted)
    

Note: You can also clear the server cache by running the PurgeCache.sh utility. Refer to the Fusion Middleware Administrator's Guide for Oracle Identity Manager to learn more about running the PurgeCache.sh utility.

Creating an IT Resource

Now you will create an IT resource for the target system. The IT resource contains connection information about the target system. Oracle Identity Manager uses this information for reconciliation and provisioning.
  1. Switch to the browser that has the Identity System Administration Console running. Click IT Resource:

    Creating an IT Resource - Step 1
    Description of this image
  2. In the Manage IT Resource window, click Create IT Resource:

    Creating an IT Resource - Step 2
    Description of this image
  3. In the IT Resource Name field, enter UNIX 1. Then, click the search icon next to the IT Resource Type field:

    Creating an IT Resource - Step 3
    Description of this image
  4. Select UNIX Server and click Select:

    Creating an IT Resource - Step 4
    Description of this image
  5. Click Continue:

    Creating an IT Resource - Step 5
    Description of this image
  6. In the Step 2: Specify IT Resource Parameter Values window, enter the following values:

    • host: 127.0.0.1 (This indicates your local host)
    • loginUser: root
    • loginUserpassword: <password for the root user on your Linux machine)
    Click Continue:
    Creating an IT Resource - Step 6
    Description of this image
  7. Click Continue:

    Creating an IT Resource - Step 7
    Description of this image
  8. Click Continue:

    Creating an IT Resource - Step 8
    Description of this image
  9. Click Continue:

    Creating an IT Resource - Step 9
    Description of this image
  10. The IT Resource is created. Click Finish to close this window:

    Creating an IT Resource - Step 10
    Description of this image

Creating Reconciliation Lookups

When you install the UNIX Connector, it creates a set of Scheduled jobs that let you lookup the target system for information. For example, you can look up the target UNIX system and collect information about the groups that are available in that system. You will use the UNIX User Shell Lookup Reconciliation and UNIX Primary Group Lookup Reconciliation scheduled jobs to collect the shells and groups that are available in the UNIX system.

  1. Switch to the browser that has the Identity System Administration Console running. Click Scheduler:

    Creating Lookup Resource - Step 2
    Description of this image
  2. Enter *UNIX* in the search field and click Search:

    Creating Lookup IT Resource - Step 3
    Description of this image
  3. Click UNIX User Shell Lookup Reconciliation:

    Creating Lookup IT Resource - Step 4
    Description of this image
  4. In the Parameters section, enter UNIX 1 in the IT Resource Name field and click Apply:

    Creating Lookup IT Resource - Step 5
    Description of this image
  5. Click Run Now:

    Creating Lookup IT Resource - Step 6
    Description of this image
  6. Click Refresh:

    Creating Lookup IT Resource - Step 7
    Description of this image
  7. Scroll down to the Job History section. The execution status of the scheduled job shows Success:

    Creating Lookup IT Resource - Step 8
    Description of this image
  8. Click UNIX User Primary Group Lookup Reconciliation:

    Creating Lookup IT Resource - Step 9
    Description of this image
  9. In the Parameters section, enter UNIX 1 in the IT Resource Name field and click Apply:

    Creating Lookup IT Resource - Step 10
    Description of this image
  10. Click Run Now:

    Creating Lookup IT Resource - Step 11
    Description of this image
  11. Click Refresh:

    Creating Lookup IT Resource - Step 12
    Description of this image
  12. Scroll down to the Job History section. The execution status of the scheduled job shows Success. Close the Identity System Administration window that displays the scheduler jobs:

    Creating Lookup IT Resource - Step 13
    Description of this image

Creating Application Instance

An Application Instance is the provisionable entity which will be published to the catalog. It is a combination of IT resource instance (target connectivity and connector configuration) and resource object (provisioning mechanism). You will create an Application Instance to create a user in the target UNIX system.

  1. In the Oracle Identity System Administration window, click Sandboxes:

    Creating new sandbox - Step 1
    Description of this image
  2. Click Create Sandbox:

    Creating new sandbox - Step 2
    Description of this image
  3. Enter UNIX_Application_Instance in the Sandbox Name field and click Save and Close:

    Creating new sandbox - Step 3
    Description of this image
  4. Click OK:

    Creating new sandbox - Step 4
    Description of this image
  5. Click Form Designer:

    Creating a new form - Step 1
    Description of this image
  6. Click Create:

    Creating a new form - Step 2
    Description of this image
  7. Click the search icon in the Resource Type field:

    Creating a new form - Step 3
    Description of this image
  8. Click Search:

    Creating a new form - Step 4
    Description of this image
  9. Select UNIX User and click OK:

    Creating a new form - Step 5
    Description of this image
  10. In the Form Name field, enter UNIX1 and click Create:

    Creating a new form - Step 6
    Description of this image
  11. A message indicating that the form is created is displayed. Close the Form Designer tab:

    Creating a new form - Step 7
    Description of this image
  12. Click Application Instances:

    Creating Application Instance - Step 1
    Description of this image
  13. Click Create:

    Creating Application Instance - Step 2
    Description of this image
  14. In the Create Application Instance window, enter the following values and click the search icon in the Resource Object field:

    • Name: UNIXServer1
    • Display Name: Corporate UNIX Server
    • Description: This server hosts our internal systems
    Creating Application Instance - Step 3
    Description of this image
  15. Click Search:

    Creating Application Instance - Step 4
    Description of this image
  16. In the search results, select UNIX User and click OK:

    Creating Application Instance - Step 5
    Description of this image
  17. Scroll down and click the search icon in the IT Resource Instance field:

    Creating Application Instance - Step 6
    Description of this image
  18. Click Search:

    Creating Application Instance - Step 7
    Description of this image
  19. Select UNIX 1 from the search results and click OK:

    Creating Application Instance - Step 8
    Description of this image
  20. From the Form drop-down list, select UNIX1:

    Creating Application Instance - Step 9
    Description of this image
  21. Click Save:

    Creating Application Instance - Step 10
    Description of this image
  22. A message indicating that the Application Instance is created is displayed. Click Manage Sandboxes:

    Creating Application Instance - Step 11
    Description of this image
  23. Select the UNIX_Application_Instance sandbox and click Publish Sandbox:

    Publishing a Sandbox - Step 1
    Description of this image
  24. Click Yes:

    Publishing a Sandbox - Step 2
    Description of this image
  25. Scroll down and click Scheduler:

    Running Scheduled Task - Step 1
    Description of this image
  26. In the Search Scheduled Jobs field, enter *Catalog* and click the search button:

    Running Scheduled Task - Step 2
    Description of this image
  27. Click Catalog Synchronization Job:

    Running Scheduled Task - Step 3
    Description of this image
  28. Click Run Now:

    Running Scheduled Task - Step 4
    Description of this image
  29. A message indicating that the scheduled job is running is displayed. Close the Scheduler window:

    Running Scheduled Task - Step 5
    Description of this image
  30. In a new browser window or tab, open the Oracle Identity Self Service console by entering the url http://host01.example.com:14000/identity. If prompted for login information specify the username as xelsysadm and password as Welcome1. Click Manage:

    Creating a New User - Step 1
    Description of this image
  31. Click Users:

    Creating a New User - Step 2
    Description of this image
  32. In the Users list, click XELSYSADM:

    Creating a New User - Step 3
    Description of this image
  33. Click Accounts:

    Creating a New User - Step 4
    Description of this image
  34. Click Request Accounts:

    Creating a New User - Step 5
    Description of this image
  35. Click Add to Cart next to Corporate UNIX Server. This is the application instance that you created earlier:

    Creating a New User - Step 6
    Description of this image
  36. Click Next:

    Creating a New User - Step 7
    Description of this image
  37. In the Cart Items section, click Corporate UNIX Server:

    Creating a New User - Step 8
    Description of this image
  38. Scroll down and click the edit icon:

    Creating a New User - Step 9
    Description of this image
  39. Enter the following values and click the search icon in the Primary Group field:

    • User Login: xeluser
    • Password: Welcome1
    Creating a New User - Step 10
    Description of this image
  40. Select UNIX 1~oinstall and click OK:

    Creating a New User - Step 11
    Description of this image
  41. Click the search icon in the User Shell field:

    Creating a New User - Step 12
    Description of this image
  42. Select UNIX 1~/bin/bash and click OK:

    Creating a New User - Step 13
    Description of this image
  43. Scroll up and click Update:

    Creating a New User - Step 14
    Description of this image
  44. Click Submit:

    Creating a New User - Step 15
    Description of this image
  45. A message indicating that the request is completed successfully is displayed. Click Refresh:

    Creating a New User - Step 16
    Description of this image
  46. The status for the request shows provisioned. This indicates that you have provisioned a UNIX user xeluser from OIM using the UNIX connector:

    Creating a New User - Step 17
    Description of this image
  47. Open a terminal window and enter the following commands:

    su xeluser
    Enter the password as Welcome1
    whoami
    
  48. The terminal displays xeluser in response to the whoami command. This confirms that the user xeluser is created on the UNIX system.
    Verifying New User Creation
    Description of this image
  49. Close the terminal and logout of the Identity Self Service Console and the Identity System Administration console that is running in the browser.

Want to Learn More?

Credits

  • Developer: Sanjay Kumar Kunithala
  • Lead Developer: Frederico Hakamine