Enabling "Global Policies Apply" on a Domain using Siteminder Java SDK

Document ID : KB000013637
Last Modified Date : 14/02/2018
Show Technical Document Details

We have a requirement where we need to enable the "Global Policies Apply" checkbox for about 1800 domans in our env using Siteminder Java SDK. The documentation for the 12.5 SDK is not listing at method or property to enables this. We are getting all the domains in our env using the following code snippet- 

for (e = v.elements(); e.hasMoreElements();) { 


domain = new SmDomain(); 

apiResult = policyapi.getDomain(e.nextElement().toString(),domain); 


How there is no property for "Global Policies Apply" nor I could find a method for this. 



Is there an API method to set global policies?


The method setMode of class SmDomain will enable global policies.