search cancel

The Java Policy Management Method SmPolicyApi.getAgent() fails to get a specific Agent


Article ID: 8700


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On


We have an Agent with the following name: “”. 


When we call the Java Policy API getAgent Method to retrieve this Agent, the request fails to find it, while we can retrieve other Agents. Why is this happening? How can we solve it?



Policy Server R12.52 SP1SDK R12.52 SP1


The Policy Server looks in the Policy Store for the Agent using the OID. The Policy Server code incorrectly uses the Agent Name as an OID. This happens because the code interpret the value as a valid OID instead of an AgentName as it has a hyphen at the third character "-".

The Policy Server code has been modified to ensure the OID is valid before proceeding further even if the hyphens are in the right place.



Upgrade Policy Server to 12.52 SP1 CR08 to solve this issue.


Defects Fixed in 12.52 SP1 CR08

339507    DE157079    SDK Policy API call getAgent fails to find the agent.