Sun Java System Access Manager 7.1 Developer's Guide

Configuring the UserIDGeneratorSample Program

The Authentication User ID Generation Sample can be configured at the Organization level, and then used or invoked by the out-of-box Membership/Self- registration authentication module.

ProcedureTo Configure UserIDGeneratorSample for an Organization

  1. Log in to Access Manager console as amAdmin. Use the following URL:


  2. Click the Identity Management tab, and select your organization.

  3. From the View menu, select Services.

  4. In the navigation frame, under Authentication, click Core.

  5. Add the following to the Pluggable User Name Generator Class attribute: UserIDGeneratorSample

  6. Click Save to save the changes.

  7. Log out.

ProcedureTo Access an Authentication Module for an Organization

This module is the one which invokes the UserIDGenerator SPI implementation class. By default, only the Membership/Self-registration authentication module calls this SPI implementation.

  1. Make sure that you have registered and enabled the Membership authentication module, and that you have created a template for the organization.

  2. Enter the following URL:


    If you choose to use an organization other than the default, be sure to specify that in the URL using the org parameter. Example: org=orgName

  3. Click New User.

    You should be able to register any existing username or user ID.

    The UserIDGeneratorSample will be executed. You will be presented with the generated User IDs choice menu to choose any one username or user ID.