Oracle Waveset 8.1.1 Business Administrator's Guide

Deploying PasswordSync on the Application Server

Once PasswordSync is installed on your Windows domain controllers, you must take additional steps on the application server running Waveset.

You do not need to install the PasswordSync servlet on the application server. It is automatically installed when you installed Waveset.

To finish deploying PasswordSync, however, you do need to perform the following actions in Waveset:

Adding and Configuring a JMS Listener Adapter

If the PasswordSync servlet is using JMS to send messages to Waveset, you need to add Waveset’s JMS Listener resource adapter. The JMS Listener resource adapter periodically checks the JMS Message Queue for messages placed there by the PasswordSync servlet. If the Queue contains a new message, it sends it to Waveset for processing.

ProcedureTo Add the JMS Listener Resource Adapter

  1. Log on to the Waveset Administrator Interface (Waveset Administrator Interface).

  2. Select Resources -> Configure Types from the main menu.

    The Configure Managed Resources page opens as shown in Figure 11–10.

    Figure 11–10 The Configure Managed Resources Page.

    Figure showing the Configure Managed Resources page

  3. Verify that the JMS Listener checkbox in the Managed? column is selected as shown in Figure 11–10.

    If the box is not selected, select it and click Save.

  4. Click List Resources in the secondary menu.

  5. Locate the Resource Type Actions drop-down menu and select New Resource.

    The New Resource page is displayed.

  6. To add the JMS Listener Adapter, select JMS Listener from the drop-down menu (as shown in Figure 11–11) and click New.

    Figure 11–11 The New Resource Wizard

    Figure showing the New Resource wizard

  7. Configure the following settings on the Resource Parameters page, and then click Next.

    • Destination Type. Specify the This value is typically set to Queue. (Topics are not usually relevant because there is one subscriber and potentially multiple publishers.)

    • Initial context JNDI properties. Define the set of properties that are used to build the initial JNDI context.

      You must define the following name/value pairs:

      • java.naming.factory.initial. Specify the classname (including the package) of the Initial Context Factory for the JNDI Service Provider.

      • java.naming.provider.url. Specify the URL of the machine running the JNDI service.

        You might have to define additional properties. The list of properties and values should match those specified on the JMS settings page on the JMS server. For example, to provide the credentials and bind method, you might need to specify the following sample properties:

        • java.naming.security.principal — Bind DN (for example, cn=Directory manager)

        • java.naming.security.authentication — Bind method (for example, simple)

        • java.naming.security.credentials — Password

    • JNDI name of Connection factory. Enter the name of a connection factory, as defined on the JMS server.

    • JNDI name of Destination. Enter the name of a destination, as defined on the JMS server.

    • User and Password. Enter the account name and password of the administrator that requests new events from the queue.

    • Reliable Messaging Support. Select LOCAL (Local Transactions). The other options are not applicable for password synchronization.

    • Message Mapping. Enter java:com.waveset.adapter.jms.PasswordSyncMessageMapper. This class transforms messages from the JMS server into a format that can be used by the Synchronize User Password workflow.

      Figure illustrating the JMS Listener Resource Wizard
Resource Parameters page.
  8. On the Account Attributes wizard page (Figure 11–12), click Add Attribute and map the following attributes, which are made available to the JMS Listener Adapter by PasswordSyncMessageMapper.

    • IDMAccountId — This attribute is resolved by the PasswordSyncMessageMapper, based on the resourceAccountId and resourceAccountGUID attributes passed in the JMS message.

    • password — The encrypted password forwarded in the JMS message.

    Figure 11–12 The Account Attributes Page of the Create JMS Listener Resource Wizard

    Figure showing the Account Attributes page of the Create
JMS Listener Resource Wizard

  9. Click Next.

    The Identity Template wizard page opens as shown in Figure 11–13. Note that the attributes you added in the previous step are available in the Attribute Mappings section of the Resource Wizard (Figure 11–13).

    Figure 11–13 JMS Listener Resource Wizard Attribute Mappings

    Figure showing the Edit JMS Listener Resource Wizard

  10. Click Next and configure the options on Identity System Parameters page as needed.

    See Oracle Waveset 8.1.1 Resources Referencefor more information about setting up the JMS Listener resource adapter.

Implementing the Synchronize User Password Workflow

When Waveset receives a password change notification, it starts the Synchronize User Password workflow. The default Synchronize User Password workflow checks out the ChangeUserPassword viewer, and then checks it back in again. Next, the workflow processes all of the resources accounts (except the Windows resource that sent the initial password change notification). Finally, Waveset sends the user email indicating whether the password change was successful on all resources.

If you want to use the default implementation of the Synchronize User Password workflow, assign it as the process rule for the JMS Listener adapter instance. Process rules may be assigned when you configure the JMS Listener for synchronization (see Configuring Active Sync).

If you want to modify the workflow, copy the $WSHOME/sample/wfpwsync.xml file and make your modifications. Then, import the modified workflow into Waveset.

Some of the modifications you might want to make to the default workflow include:

For detailed information about using workflows, see Chapter 1, Workflow, in Oracle Waveset 8.1.1 Deployment Reference.

Setting Up Notifications

Waveset provides two email templates that can inform users whether a password change was successful across all resources.

These templates are:

Both templates should be updated to provide company-specific information about what users should do if they need further assistance. For more information see Customizing Email Templates in Chapter 4, Configuring Business Administration Objects.