Log in to Access Manager console as amAdmin. Use the following URL:
Click Identity Management, and select your organization.
From the View menu, select Services.
Select Authentication Configuration
From the Service Instance frame, select New Instance.
Enter a name for the service.
Add the following to the Authentication PostProcessing Class attribute: com.iplanet.am.samples.authentication.spi.postprocess. ISAuthPostProcessSampl
Click Submit to save the changes.
Click Service Name and define the Authentication Configuration for the new service.
Go to the following URL: http://host.domain:port/Service-Deploy-URI/UI/Login?service=servicename
If you choose to use an organization other than the default, be sure to specify that in the URL using the org parameter.
The postprocessing SPI will get executed on successful authentication, failed authentication and on Logout for the service accessed.