Adding Forgot your Username? link to IDM User Application

mbluteau

By: mbluteau

May 16, 2011 2:20 pm

Reads: 257

Comments:0

Rating:0

Identity Manager provides a Forgot your Password? link on User Application, but how about Forgot your Username?

While this may not be helpful for internal/corporate users, this may be helpful for citizens or customers that access their identities once a year or so. Here is a simple recipe using a custom raw JSP, that you can further customize to meet your requirements.

First, let’s see what it looks like once deployed.

Click to view.

Figure 1: Link added to Guest pages.

Click to view.

Figure 2: Raw/simple JSP form for submitting request for username using e-mail address. The form includes basic validation.

Click to view.

Figure 3: email resulting from the request.

Now let’s see what’s behind the scene.

Click to view.

Figure 4: New Page in User Application, created using portal admin.

Click to view.

Figure 5: Using the iFrame Portlet to wrap the JSP.

Click to view.

Figure 6: In Content Preference, provide the url for the JSP.

Click to view.

Figure 7: The JSP can be deployed on JBoss using admin-console.

Click to view.

Figure 8: Deploy war using admin-console. Deploy war using admin-console.

Click to view.

Figure 9: New effective Class created for Requests. Derived from top, contained in Domain, Organizational Unit and Organization. Internet eMail Address is an optional attribute, CN is naming.

Click to view.

Figure 10: Instance of the class created to receive input from JSP form. Also proxy user created.

Click to view.

Figure 11: Trustee for proxy user, for Request object.

Click to view.

Figure 12: Specific attribute right(Write Internet EMail Address) for proxy user.

Now let’s take a look at the last piece, filter and rule to add to a Null or Loopback driver.

Click to view.

Figure 13: Filter to detect events on Request object.

Click to view.

Figure 14: DirXML Script rule to Query the Vault for a user with the e-mail address(unique) and send an e-mail if a user is found.

You can download the DirXML Script rule, and war that includes JSP form, below.

You can add the DirXML Script rule to an Event Transform Policy on Subcriber Channel.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment