Sun Java System Access Manager 7.1 Postinstallation Guide

Configuring Session Property Change Notifications

The session property change notification feature causes Access Manager to send a notification to all registered listeners when a change occurs on a specific session property. This feature takes effect when the “Enable Property Change Notifications” attribute is enabled (ON) in the Access Manager Console.

For example, in a single sign-on (SSO) environment, one Access Manager session can be shared by multiple applications. When a change occurs on a specific session property defined in the “Notification Properties” list, Access Manager sends a notification to all registered listeners.

All client applications participating in the SSO automatically get the session notification if they are configured in the notification mode. The client cached sessions are automatically updated based on the new session state (including the change of any session property, if there is any). An application that wants to take a specific action based on a session notification can write an implementation of the SSOTokenListener interface and then register the implementation through the SSOToken.addSSOTokenListener method. For more information, see the Sun Java System Access Manager 7.1 Developer’s Guide.

ProcedureTo Configure Session Property Change Notifications

  1. Log in to Access Manager Console as amAdmin.

  2. Click the Configuration tab.

  3. Under Global Properties, click Session.

  4. Set “Enable Property Change Notifications” to ON.

  5. In the “Notification Properties” list, add each property for which you want a notification sent when the property is changed.

  6. When you have finished adding properties to the list, click Save.