Set the following environment variables. These variables will be used to run the make command. You can also set these variables in the Makefile.
This Makefile is in the same directory as the Login Module Sample program files: AccessManager-base\samples\authentication\spi\providers
JAVA_HOME: Set this variable to your installation of JDK. The JDK should be version 1.3.1_06 or higher.
BASE: Set this variable to base-directory
CLASSPATH: Set this variable to refer to am_services.jar which can be found in the base-directory\lib directory. Include jaas.jar in your classpath if you are using JDK version less than JDK1.4
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.
In the base-directory\samples\authentication\spi\providers directory, run the make command.