Package org.jboss.security.xacml.bridge

Examples of org.jboss.security.xacml.bridge.PolicySetFinderModule


      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;
   }
View Full Code Here


      this.map.put(XACMLConstants.POLICY_FINDER_MODULE, pfml);
   }

   private PolicySetFinderModule getPopulatedPolicySetFinderModule(XACMLPolicy xpolicy)
   {
      PolicySetFinderModule psfm = new PolicySetFinderModule();
      //Check for enclosed policies
      List<AbstractPolicy> sunxacmlPolicies = new ArrayList<AbstractPolicy>();
      this.recursivePopulate(xpolicy, sunxacmlPolicies, psfm);

      psfm.set((PolicySet) xpolicy.get(XACMLConstants.UNDERLYING_POLICY), sunxacmlPolicies);

      //Make this PolicySetFinderModule the module for this policy set
      xpolicy.set(XACMLConstants.POLICY_FINDER_MODULE, psfm);
      return psfm;
   }
View Full Code Here

      this.map.put(XACMLConstants.POLICY_FINDER_MODULE, pfml);
   }
  
   private PolicySetFinderModule getPopulatedPolicySetFinderModule(XACMLPolicy xpolicy)
   {
      PolicySetFinderModule psfm = new PolicySetFinderModule();
      //Check for enclosed policies
      List<XACMLPolicy> policyList = xpolicy.getEnclosingPolicies();
      List<Policy> sunxacmlPolicies = new ArrayList<Policy>();
      for(XACMLPolicy xp: policyList)
      {
         sunxacmlPolicies.add((Policy) xp.get(XACMLConstants.UNDERLYING_POLICY));
      }
     
      psfm.set((PolicySet) xpolicy.get(XACMLConstants.UNDERLYING_POLICY),
            sunxacmlPolicies);
     
      //Make this PolicySetFinderModule the module for this policy set
      xpolicy.set(XACMLConstants.POLICY_FINDER_MODULE, psfm);
      return psfm;
View Full Code Here

TOP

Related Classes of org.jboss.security.xacml.bridge.PolicySetFinderModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.