· df · 1 min read

Siteminder Custom Agent Installation

enterprise Single Sign-onTechnologysiteminder

I was trying to install single sign-on for an application. This has to be enabled using Siteminder Custom Agent and we wrote a test program to check the connectivity.

This blog will note down the main hurdles and solutions if found.

Issues Encountered


  • Following Parameters should be configured at Siteminder Policy Server end. This should be tied up in the Custom agent level as well.- Siteminder Policy Server IP

 - Policy Server Connection Minimum value
 - Policy Server Connection Maximum value
 - Policy Server Connection Step value
 - Policy Server Connection Timeout value
 - Policy Server Connection Accounting Port
 - Policy Server Connection Authentication Port
 - Policy Server Connection Authorization Port
 - An agreed unique Agent Name
 - Agent Secret agreed between agent and Policy Server
 - Agent IP (client/custom agent IP)
 - The resource page to protect

  • Error while initializing the STUB program.   The error was mainly focussed on Linking the libraries. FATAL ERROR:

FATAL ERROR: Exception from System.loadLibrary(smjavaagentapi) java.lang.UnsatisfiedLinkError: smjavaagentapi (No such file or directory)
FATAL ERROR: Exception from AgentAPI.initialize() java.lang.UnsatisfiedLinkError: netegrity/siteminder/javaagent/AgentAPI.initialize()V

Exception in thread "main" java.lang.UnsatisfiedLinkError: netegrity/siteminder/javaagent/AgentAPI.javaagent_api_init(Lnetegrity/siteminder/javaagent/InitDef;)I
 at netegrity.siteminder.javaagent.AgentAPI.init(AgentAPI.java:xxx)

Solution

This is caused mainly due to incompatible versions of "java" with siteminder API's.
We had JAVA5 as the main java version. I forced the LIBPATH to 64 bit Java6 version and this worked !!