Sun Java System Access Manager 7.1 Developer's Guide

Compiling the Policy Code Samples

Samples can be run both on Solaris, Linux, HP-UX, and Windows platforms. In the sample files, root suffix DNs are specified as dc=example,dc=com. Substitute the root suffix with the actual root suffix of your Access Manager installation.

ProcedureTo Compile the Policy Code Samples

  1. Set the following variables in the Makefile (or make.bat in Windows):


    Set this to refer the directory where Access Manager is installed.


    Set this variable to your installation of JDK. The JDK version should be higher than JDK 1.4

  2. To compile the sample program, run the gmake all command (or make.bat in Windows).

  3. In the sample files, replace the root suffix DNs with values appropriate for your environment.