Symantec Access Management

Expand all | Collapse all

[PERL] retrieve the response associated with the rule in the policy

  • 1.  [PERL] retrieve the response associated with the rule in the policy

    Posted Aug 03, 2011 07:22 AM
    Hello,

    I have automated my sitemeinder V6 configurations with a perl script.
    Currently I migrate to the R12 version .
    I wrote a perl script that pulls my V6 configuration for an agent to a text file, but I don't know how to retrieve the response associated with the rule in the policy.
    Is someone could help me ?

    In advance thank you.

    Ludovic.


  • 2.  Re: [PERL] retrieve the response associated with the rule in the policy

    Posted Apr 18, 2017 08:04 AM

    Hi,

     

    Refer : PERL API - how to get the respones of a rule within a policy 

     

    Unfortunately, there is no PERL API to get the response/response group tied to a specific rule under a Policy.

     

    There is a SetResponse() method , but not the corresponding GetResponse()

    SetResponse Method Sets the Response for a Configured Rule in the Policy

     

    If you are okay with using JAVA sdk, then it already has this capability :

    CA SiteMinder SDK r12.52sp1

    SmPolicyLink.getResponse()

     

    Java SDK is much more feature rich compared to Perl API at the moment.

     

    Regards,

    Leo Joseph.