IDM Development

Gabriel Magariño, gabriel.magarino@gmail.com, Sun Java System Identity Manager, www.javapassion.com/idm


Gabriel Magariño

The goal of this hands-on lab is to get you exposed to the basics operation for a User in IDM. Manual Operations for a User and Bulk Actions


Expected duration: 60 minutes (excluding homework)


Prerequisites

This hands-on lab assumes you have minimum programming experience.


Software Needed


Before you begin, you need to install the following software on your computer. 




OS platforms you can use


Change Log


Lab Exercises



Exercise 0: Install Netbeans Module


                The goal of this exercise is to let you experience about how to install  Identity Manager IDE is packaged as a module plug-in that you must register with NetBeans..


  1. Installing the Module
  2. Create new project

(0.1) Installing the Module


In this step, you are going to insttal the module plug-in  in netbeans.

    1. Start NetBeans 5.5.
    2. From the NetBeans menu bar, select Tools > Update Center.
    3. When the Update Center Wizard displays (see the image below), select Install Manually Downloaded Modules, and then click Next.



  1. In the Select Modules to Install panel  click Add to locate and select the Identity Manager IDE NetBeans plug-in file (com-sun-idm-ide.nbm), which file is provided in Identity Manager’s image directory. See the image below.



  1. Click Next and the Select Modules to Install panel displays. Click Next again to download the module.
  2. When the Identity Manager IDE License Agreement displays, click Accept.
  3. The Download Modules panel displays to show you the status of the module(s) being downloaded. Click Next.
  4. The View Certificates and Install Modules panel displays , containing a list of the module(s) you downloaded. Enable the check box beside the module name.See the image below.
          
    1. A pop-up displays, asking if you really want to install an unsigned module.
    2. Click Finish.




                                                                                                                    return to the top



Exercise 1: Configure Business Process Editor (BPE )


                The goal of this exercise is to let you experience about how to login in the different IDM interfaces.


  1. Configure and launch BPE
  2. Open and Save workflow

(0.1) Configure BPE



In this step, you are going to configure the BPE to allow you create workflows,view or forms in IDM.

    1. Open The  System Properties  in Windows
      • Select my computer, click right button and select properties
    1. Click in the Environment Variables button


  1. Click New button and add the variable name and variable value.
    • Variable name: WSHOME
    • Variable value: C:\IDM\Tomcat  6.0\webapps\idm



  1. Click the OK button, your screen should look like the image below.




  1. Go to the ms-dos session
    1. Select start button on windows and select run.
    2. write down the cmd command
  1.    Go to the idm\bin under the tomcat 6.0\webapps folder and execute the lh command and execute it with  the the config parameter.
    • lh config


  1. After you  executed the lh config command a Business Process Editor windows appears, point you workspace directory to the C:\IDM\bpe folder
  2. Click the OK  button




  1. Click Next  button on te Create new workspace window




  1.  Under the Debbuge Conection panel write re-configure the SOAP URL point it to  the port where you installed tomcat
    • On the  image below i am poiting it to the 8001  port
    • Write down the user and password for the configurator account.
    • Click the  Finish button.





  1.  At this time the bpe is trying to connect to the IDM repository with the parameters that you configured.
    • If your  configuration data were introduced  correctly your screen should look like the image below
    1.  Select the OK  button
      • Be sure that your Workspace is poiting to the C:\IDM\bpe



  1. If you completed the BPE configuration, your screen should look like the image below.





(0.2) Open and run workflow


In this step, you are going to open the BPE and save workflows into the IDM repository, also you are going to login into The Identity Manager Administrator interface and execute it.

    1.  Download the workflows  and put there under the C:\IDM\import folder
    2. With your BPE running clidk the File Menu  and select the Open Repository Object...  (see the image below)



    1. Select the IDM_WFP_Hello World.xml file and click the Open Button (see the image below)



    1. Once the file was opened your screen should look likte the image below.
      • Remember that all workflows include a start and end activities.






    1. Click the File menu option and select Save In Repository option.
      1. This step save your workflow into the IDM respository as a XML object





    1. Repeat the steps  (2-5) but now  using the IDM_EMT_Hello World  file 




    1. If the workflow file were imported correctly go to the Server Task Tab and select the Run Tasks option and you should see the workflow there. (see the image below)





      <>8.- If the file Email template were imported correctly go to the Configure Tab and select the Email Templates option and you should see the workflow there. (see the image below)









                                                                                                                         return to the top





Exercise 2: Running Workflows


                The goal of this exercise is to let you experience about how to login in the different IDM interfaces.


  1. Run the workflow

(0.1) Configure BPE



In this step, you are going to execute the workflow imported using the the The Identity Manager Administrator interface.

    1. Open a Web browser and type the following address into the address bar:
    1. Enter the User ID and Password

    1. Go to the Server Tasks  tab and select Run Tasks  option.
    2. Click under the IDM_WFP_Hello World  workflow






    1. After you clicked under the workflow a Task Results screen appears (see the imaga below)





    1. If the workflow execution was completed your notification file should have a text like the image below-




                                                                                                                         return to the top