Sun Java System Access Manager 7 2005Q4 Developer's Guide

Compiling the Policy Code Samples

Samples can be run both on Solaris and Linux 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:


    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.

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