The SPI is configurable at the organization, service and role
levels. The Authentication Service invokes the post processing SPI
methods on successful or failed authentication and on logout.

About the PostProcessing SPI Sample

<PRODUCT_DIR> or AccessManager-base directory
on different Platforms:

Solaris Sparc/x86: AccessManager-base/SUNWam

Linux: AccessManager-base/sun/identity

To Compile the ISAuthPostProcessSample Program
on Solaris Sparc/x86 or Linux

Follow these steps given below to compile the sample found under AccessManager-base/samples/authentication/spi/postprocess.

Set the following environment variables.

JAVA_HOME: Set this variable to your installation
of JDK. The JDK should be version 1.3.1_06 or higher.

CLASSPATH: Set this variable to refer to am_services.jar which can be found in the AccessManager-base/lib directory. Include jaas.jar in your classpath if you are using JDK version lower than
JDK1.4

BASE_DIR: Set
this variable to the directory where Access Manager is installed.

BASE_CLASS_DIR: Set this
variable to the directory where all the Sample compiled classes are
located.

JAR_DIR: Set
this variable to the directory where the JAR files of the Sample compiled
classes will be created.

These variables will be used
to run the gmake command. You can also set these
variables in the Makefile. This Makefile is in the following directory: AccessManager-base/samples/authentication/spi/postprocess.

In the directory AccessManager-base/samples/authentication/spi/postprocess, run the gmake command.

To Deploy the ISAuthPostProcess Sample Program

Copy ISAuthPostProcess.jar from JAR_DIR to AccessManager-base/lib.

Update the Web Container configuration file server.xml.

Add ISAuthPostProcessSample.jar to
the classpath. The server.xml file for different
web containers can be found at the following locations:

Web Server:<WS-home-dir>/https-<WS-instance-name>/config/

Application Server:<AS-home-dir>/domain/domain1/server1/config/

For
all other web containers consult, the manufacturer’s documentation.