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

Using a Properties File

You can set properties in a properties file and then provide a path to it at runtime. The properties files must be in the CLASSPATH. The default properties file name is and is always read at start-up.

ProcedureTo Set ClientSDK Properties in a Properties File

  1. Generate a sample by running the following command:

    make -f Makefile.clientsdk properties

    The will be present in the temp directory.

  2. Edit properties to suit your environment.

  3. At runtime if the file name is different from AMConfig, provide the edited properties filename (without the .properties extension, and also with the path. The path should be in the CLASSPATH) by declaring the JVM option: