SSO API method setAgentConfigProperties not working.

book

Article ID: 6141

calendar_today

Updated On:

Products

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

Issue/Introduction

When I try to use the setAgentConfigProperties method and pass in updates, it does not take unless I first call policyapi.deleteAgentConfig, then setAgentConfigProperties(), and finally policyapi.addAgentConfigProperties.  he CA code states that you can call the setAgentConfigProperty on an SmProperty property object and it will update the value of an existing one. 

Environment

All

Resolution

Need to call modifyAgentConfig() after calling setAgentConfigProperties().