Note: For a list of operating systems, Java environments, and platforms that the XML Agent Content Helper API for Java supports, see the CA SiteMinder WSS Platform Matrix on the Technical Support site at http://ca.com/support.
To write the source code for a custom XML-enabled agent using the XML Agent Content Helper API for Java
Before you compile your agent application, ensure the following:
install_path\sdk\bin\win32
install_path/sdk/bin/solaris
install_path/sdk/bin/aix
install_path/sdk/bin/Linux
Note: Java agents on Linux require Java SDK v 1.3.1.
install_path/sdk/bin/hpux/hpux11
Note: The Java Agent API is not available for HP10.
install_path\sdk\java
install_path/sdk/java
Agent_install_location\Java
Agent_install_location\Java
Add soasmapi.jar to your CLASSPATH setting. When compiling, you can use the -classpath switch.
Compile the custom XML-enabled agent application using javac.
For an example, see java-build.bat or java-build.sh in the sample directory smjavaagentapi.
To deploy a custom XML-enabled Java Agent:
On Windows
Agent_inst_dir\Java\soasmapi.jar
Agent_inst_dir\Java\smjavaagentapi.jar
Agent_inst_dir\Java\XmlSdkConfig.properties
Agent_inst_dir\Java\JSAMLAssertionStrings.properties
Agent_inst_dir\Java\thirdparty\*
Agent_inst_dir\Bin\smjavaagent.dll
Agent_inst_dir\Bin\smreghost.exe
On UNIX
Agent_inst_dir/Java/soasmapi.jar
Agent_inst_dir/Java/smjavaagentapi.jar
Agent_inst_dir/Java/XmlSdkConfig.properties
Agent_inst_dir/Java/JSAMLAssertionStrings.properties
Agent_inst_dir/Java/thirdparty/*
Agent_inst_dir/Bin/smjavaagent.so
Agent_inst_dir/Bin/smreghost
Is the installed location of a Web Agent (for example, C:\Program Files\CA\SOA Security Manager\webagent).
Note: For detailed information about configuring agents, see the Web Agent Configuration Guide.
For an example, see java-run.bat or java-run.sh in the sample directory smjavaagentapi.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|