Implement the JNI Java Agent API

Applications that are built using the JNI Java AgentAPI either directly or indirectly (through another agent) are insulated from underlying implementation details, including:

Additional benefits provided by the Java Agent API include full session management support, automatic encryption key rollover, and real-time policy updates.

To implement the JNI Java Agent API

  1. Review the required software as listed in the accompanying release notes.
  2. Review the sample code.
  3. Write source code for your client application.
  4. Ensure that your system can find the JNI support library when the Java Virtual Machine (JVM) is invoked, as follows:
  5. Ensure that SiteMinder can find the JNI Java AgentAPI JAR file when you compile or run an agent that uses the Java Agent API. The JAR file, smjavaagentapi.jar, is stored in the following locations:
  6. Compile the Java Agent API application using javac.

    For an example, see java-build.bat or java-build.sh in the sample directory smjavaagentapi.

  7. Configure the Policy Server to use the Java Agent API application.
  8. Run the application.

    For an example, see java-run.bat or java-run.sh in the sample directory smjavaagentapi.


Copyright © 2009 CA. All rights reserved.