AnsweredAssumed Answered

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

Question asked by CDemuth on Aug 1, 2016
Latest reply on Aug 4, 2016 by Ujwol Shrestha

in the CA SSO Policy Server Perl API there is a method to set the response for a rule within a specific policy.

 

If I want to read the responses from a specific policy within a specific domain, how can I do this?

 

code snippet:

...

@policies = $d->GetAllPolicies();

        foreach $policy (@policies) {

                print "  POLICY  : " . $policy->Name() . " DESC: " . $policy->Description() . "\n";

                @rules = $policy->GetAllRules();

                foreach $rule (@rules) {

                        print "    RULE  : " . $rule->Name() . " DESC: " . $rule->Description() . "\n";

                         # missing HOW TO DISPLAY THE ASSOCIATED RESPONSES OF THAT RULE HERE

                }

        }

...

Outcomes