Sun Java System Access Manager 7.1 Developer's Guide

Password API Plug-Ins

The Password API plug-ins can be used to integrate password functions into applications. They can be used to generate new passwords as well as notify users when their password has been changed. These interfaces are PasswordGenerator and NotifyPassword, respectively. They can be found in the com.sun.identity.password.plugins package.


Note –

The Access Manager Javadocs can be accessed from any browser by copying the complete AccessManager-base/SUNWam/docs/ directory into the AccessManager-base /SUNWam/public_html directory and pointing the browser to http:// AcceessManager-HostName.domain_name :port/docs/ index.html.


There are samples (which include sample code) for these API that can be accessed from the Access Manager installation. They are located in AccessManager-base /SUNWam/samples/console. They include:

Notify Password Sample

This sample details how to build a plug-in which an administrator can define their own method of notification when a user has reset a password. Instructions for this sample are in the Readme.txt or Readme.html file located in AccessManager-base/SUNWam/samples/console/NotifyPassword .

Password Generator Sample

This sample details how to build a plug-in which an administrator can define their own method of random password generation when a user’s password is reset using the Password Reset Service. Instructions for this sample are in the Readme.txt or Readme.html file located in AccessManager-base/SUNWam/samples/console/PasswordGenerator .