this.map.put(XACMLConstants.POLICY_FINDER_MODULE, pfml);
}
private PolicySetFinderModule getPopulatedPolicySetFinderModule(XACMLPolicy xpolicy)
{
PolicySetFinderModule psfm = new PolicySetFinderModule();
//Check for enclosed policies
List<Policy> sunxacmlPolicies = new ArrayList<Policy>();
List<PolicySet> sunxacmlPolicySets = new ArrayList<PolicySet>();
this.recursivePopulate(xpolicy, sunxacmlPolicySets, sunxacmlPolicies, psfm);
psfm.set((PolicySet) xpolicy.get(XACMLConstants.UNDERLYING_POLICY), sunxacmlPolicies, sunxacmlPolicySets);
//Make this PolicySetFinderModule the module for this policy set
xpolicy.set(XACMLConstants.POLICY_FINDER_MODULE, psfm);
return psfm;
}