The Authentication PostProcessing Sample can be configured at the Organization, Service or Role level.
Log in to Access Manager console as amAdmin. Use the following URL:
http://host.domain:port/Console-Deploy-URI
Click Identity Management, and select your organization.
From the View menu, click Services.
In the navigation frame, under Authentication, click Core.
Add the following to the Authentication PostProcessing Class attribute:
com.iplanet.am.samples.authentication.spi.postprocess
Add the following to the Authentication PostProcessing Class attribute:
ISAuthPostProcessSample
Click Save.
Log out.
Go to 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.
The postprocessing SPI will be executed on successful authentication, on failed authentication, and on Logout.
Log in to Access Manager console as amAdmin. Use the following URL:
http://<host>.<domain>:<port>/<Console-Deploy-URI>
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.
Log out.
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.
Log in to Access Manager console as amAdmin. Use the following URL:
http://host.domain:port/Console-Deploy-URI
Click the Identity Management tab, and select your organization.
From the View menu, select Roles to view the role properties.
From the View menu, select Services.
Click Edit to edit the authentication configuration.
Add the following to the Authentication post Processing Class attribute:
com.iplanet.am.samples.authentication.spi.postprocess. ISAuthPostProcessSample
Click Submit to save the changes.
Log out.
Go to the following URL:
http://host.domain:port/Service-Deploy-URI/UI/Login?role=roleName
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
The postprocessing SPI will be executed for the service accessed on successful authentication, on failed authentication, and on Logout.