Login to Access Manager Console as amadmin, using the URL:
http://host.domain:port/Console-Deploy-URL
Click Configuration.
In the Configuration tab, under Authentication, click Core.
Add class file name com.iplanet.am.samples.authentication.spi.providers. LoginModuleSample to the Pluggable Authentication Modules Classes list.
Click Save.