Java API Overview › Code Samples
Code Samples
The SiteMinder SDK includes tested samples of SiteMinder client applications. The source files for these samples are located as follows:
Notes on the Java samples:
- The samples use properties defined in smjsdksample.properties, located in /sdk/properties. Before running the Java samples, modify this file with settings for your environment.
- The smjsdksample.properties file also externalizes literal strings used for logging.
- The samples smjavaagentapi and javadmsapi use the policy store created by the sample javapolicyapi. Run smjavapolicyapi before running smjavaagentapi or javadmsapi.
- All the samples use the same logging options and output format.
- When executing the Java samples on a 64-bit UNIX platform, note the following:
- Use a 64-bit JVM. Running the 64-bit samples using a 32-bit JVM is not supported.
- If you are using the file java-run.sh (in the samples/smjavaagentapi folder) remove the comment indicator before the -d64 flag. Leave this flag commented out when on a 32-bit platform.
Copyright © 2009 CA.
All rights reserved.