Sun OpenSSO Enterprise 8.0 Integration Guide

Modifying the Identity Manager Registration Work Flow

You can use the Identity Manager plug-in for NetBeans IDE or, you can use the Identity Manager Debug Pages. Choose only one of the following procedures:

ProcedureTo Change the Registration Work Flow Using NetBeans IDE

Before You Begin
  1. Create (or open) an Identity Manager Project in NetBeans.

    You can use this procedure with either integrated or remote NetBeans projects. Use the online help available in NetBeans to create the Identity Manager project if necessary. See the Identity Manager IDE website for more information.

  2. From the NetBeans Project Window, right-click on the Custom Identity Manager Objects Node and select IDM > Open Object.

  3. In the Open Object dialog box, enter the object name “End User Anonymous Enrollment,” and click OK.

  4. Right-click on the file in the Project Window, and choose IDM > Clone Object(s) to clone the object for safe keeping.

  5. Name the new object End User Anonymous Enrollment Orig.

  6. Click on the tab in the Editor window containing the file “End User Anonymous Enrollment” work flow.

    This will put the file in focus.

  7. Expand the tree in the Navigator Window to locate the Activity Assimilate User View.

  8. Add the OpenSSO Enterprise resource to the map of options for the "assimilate" invocation.


    The changes are displayed in bold in the following example:

    <Activity id='2' name='Assimilate User View'>
    <Action id='0' hidden='true'>
    
    <expression>
    <invoke name='assimilate'>
    <ref>view</ref>
    <map>
    
    <s>waveset.accountId</s>
    <ref>accountId</ref>
    
    <s>to</s>
    <ref>accountId</ref>
    
    <s>global.firstname</s>
    <ref>firstname</ref>
    
    <s>global.lastname</s>
    <ref>lastname</ref>
    
    <s>global.fullname</s>
    
    <concat>
    <ref>firstname</ref>
    <s> </s>
    <ref>lastname</ref>
    </concat>
    
    <s>fullname</s>
    
    <concat>
    <ref>firstname</ref>
    
    <s> </s>
    <ref>lastname</ref>
    </concat>
    
    <s>accounts[Lighthouse].fullname</s>
    
    <concat>
    <ref>firstname</ref>
    <s> </s>
    <ref>lastname</ref>
    </concat>
    
    <s>global.email</s>
    <ref>email</ref>
    
    <s>global.idmManager</s>
    <ref>idmManager</ref>
    
    <s>accounts[Lighthouse].idmManager</s>
    <ref>idmManager</ref>
    
    <s>waveset.password</s>
    <ref>userPassword</ref>
    
    <s>waveset.organization</s>
    <ref>organization</ref>
    
    <s>waveset.resources</s>
    
    <list>
    <s>OpenSSO</s>
    </list>
    
    </map>
    
    </invoke>
    
    </expression>
    
    <Variable name='view'>
    <ref>user</ref>
    </Variable>
    
    <Return from='view' to='user'/>
    <Return from='WF_ACTION_ERROR' to='error'/>
    </Action>
    
    <Transition to='Create Process View'/>
    </Activity>

    The name of the OpenSSO resource (OpenSSO in self_registration_idm_anon_enroll.html) is the name assigned when the resource was created. To verify the name, navigate to the "Resources | List Resources" tab in the Identity Manager administration console and expand the "Sun Access Manager Realm" branch.

  9. Save the changes.

  10. Right-click on the file and select IDM > Upload Object(s) to upload the file.

ProcedureTo Use the Identity Manager Debug Pages

  1. Log in to the Identity Manager console as an administrator.

  2. Go to the debug URL at protocol://IDM-host-machine:port/idm/debug.

  3. Select the object Task Definition in the list next to the List Objects button.

  4. Click the List Objects button.

  5. Search for the object "End User Anonymous Enrollment.

    Export the existing definition to back it up. Then click Edit.

  6. Add the OpenSSO Enterprise resource to the Activity "Assimilate User View.”


    In the following example, the changes are displayed in bold:

    <Activity id='2' name='Assimilate User View'>
    <Action id='0' hidden='true'>
    
    <expression>
    <invoke name='assimilate'>
    <ref>view</ref>
    <map>
    
    <s>waveset.accountId</s>
    <ref>accountId</ref>
    
    <s>to</s>
    <ref>accountId</ref>
    
    <s>global.firstname</s>
    <ref>firstname</ref>
    
    <s>global.lastname</s>
    <ref>lastname</ref>
    
    <s>global.fullname</s>
    
    <concat>
    <ref>firstname</ref>
    <s> </s>
    <ref>lastname</ref>
    </concat>
    
    <s>fullname</s>
    
    <concat>
    <ref>firstname</ref>
    
    <s> </s>
    <ref>lastname</ref>
    </concat>
    
    <s>accounts[Lighthouse].fullname</s>
    
    <concat>
    <ref>firstname</ref>
    <s> </s>
    <ref>lastname</ref>
    </concat>
    
    <s>global.email</s>
    <ref>email</ref>
    
    <s>global.idmManager</s>
    <ref>idmManager</ref>
    
    <s>accounts[Lighthouse].idmManager</s>
    <ref>idmManager</ref>
    
    <s>waveset.password</s>
    <ref>userPassword</ref>
    
    <s>waveset.organization</s>
    <ref>organization</ref>
    
    <s>waveset.resources</s>
    <list>
    <s>OpenSSO</s>
    </list>
    
    </map>
    
    </invoke>
    
    </expression>
    
    <Variable name='view'>
    <ref>user</ref>
    </Variable>
    
    <Return from='view' to='user'/>
    <Return from='WF_ACTION_ERROR' to='error'/>
    </Action>
    
    <Transition to='Create Process View'/>
    </Activity>

    The name of the OpenSSO Enterprise resource (OpenSSO in self_registration_idm_anon_enroll.html) is the name assigned when the resource was created. To verify the name, navigate to the "Resources | List Resources" tab in the Identity Manager administration console and expand the "Sun Access Manager Realm" branch.

  7. Log out of the console.