Examples of PolicyCollection


Examples of com.sun.xacml.support.finder.PolicyCollection

/*     */   }
/*     */
/*     */   public JBossStaticPolicyFinderModule(List policyList, String schemaFile)
/*     */   {
/* 117 */     this.policyList = policyList;
/* 118 */     this.policies = new PolicyCollection();
/*     */
/* 120 */     if (schemaFile != null)
/* 121 */       this.schemaFile = new File(schemaFile);
/*     */   }
View Full Code Here

Examples of com.sun.xacml.support.finder.PolicyCollection

/*     */     throws URISyntaxException, UnknownIdentifierException
/*     */   {
/* 147 */     PolicyCombiningAlgorithm alg = (PolicyCombiningAlgorithm)(PolicyCombiningAlgorithm)CombiningAlgFactory.getInstance().createAlgorithm(new URI(combiningAlg));
/*     */
/* 151 */     this.policyList = policyList;
/* 152 */     this.policies = new PolicyCollection(alg, policyId);
/*     */
/* 154 */     String schemaName = System.getProperty("com.sun.xacml.PolicySchema");
/*     */
/* 156 */     if (schemaName != null)
/* 157 */       this.schemaFile = new File(schemaName);
View Full Code Here

Examples of com.sun.xacml.support.finder.PolicyCollection

/*     */     throws URISyntaxException, UnknownIdentifierException
/*     */   {
/* 183 */     PolicyCombiningAlgorithm alg = (PolicyCombiningAlgorithm)(PolicyCombiningAlgorithm)CombiningAlgFactory.getInstance().createAlgorithm(new URI(combiningAlg));
/*     */
/* 187 */     this.policyList = policyList;
/* 188 */     this.policies = new PolicyCollection(alg, policyId);
/*     */
/* 190 */     if (schemaFile != null)
/* 191 */       this.schemaFile = new File(schemaFile);
/*     */   }
View Full Code Here

Examples of com.sun.xacml.support.finder.PolicyCollection

     *            if true, perform a XML schema validation
     *
     */
    public DataDirPolicyFinderModlule(boolean validate) {
        this.validate = validate;
        this.policiesByReference = new PolicyCollection();
        this.policiesByRequest = new PolicyCollection();
    }
View Full Code Here

Examples of org.jboss.security.xacml.sunxacml.support.finder.PolicyCollection

    *                   represent URLs or files pointing to XACML policies
    */
   public JBossStaticPolicyFinderModule(List policyList)
   {
      this.policyList = policyList;
      this.policies = new PolicyCollection();

      String schemaName = System.getProperty(PolicyReader.POLICY_SCHEMA_PROPERTY);
      if (schemaName != null)
         schemaFile = new File(schemaName);
   }
View Full Code Here

Examples of org.jboss.security.xacml.sunxacml.support.finder.PolicyCollection

    *                   or null if schema validation is not desired
    */
   public JBossStaticPolicyFinderModule(List policyList, String schemaFile)
   {
      this.policyList = policyList;
      this.policies = new PolicyCollection();

      if (schemaFile != null)
         this.schemaFile = new File(schemaFile);
   }
View Full Code Here

Examples of org.jboss.security.xacml.sunxacml.support.finder.PolicyCollection

   {
      PolicyCombiningAlgorithm alg = (PolicyCombiningAlgorithm) (CombiningAlgFactory.getInstance()
            .createAlgorithm(new URI(combiningAlg)));

      this.policyList = policyList;
      this.policies = new PolicyCollection(alg, policyId);

      String schemaName = System.getProperty(PolicyReader.POLICY_SCHEMA_PROPERTY);
      if (schemaName != null)
         schemaFile = new File(schemaName);
   }
View Full Code Here

Examples of org.jboss.security.xacml.sunxacml.support.finder.PolicyCollection

   {
      PolicyCombiningAlgorithm alg = (PolicyCombiningAlgorithm) (CombiningAlgFactory.getInstance()
            .createAlgorithm(new URI(combiningAlg)));

      this.policyList = policyList;
      this.policies = new PolicyCollection(alg, policyId);

      if (schemaFile != null)
         this.schemaFile = new File(schemaFile);
   }
View Full Code Here

Examples of org.wso2.carbon.identity.entitlement.policy.PolicyCollection

            if (log.isDebugEnabled()) {
                log.debug("Global XACML policy combining algorithm used " + globalPolicyCombiningAlgorithm);
            }

            this.policies = new PolicyCollection(algorithm);
            for (int i = 0; i < policies.length; i++) {
                if (!this.policies.addPolicy(policies[i])) {
                    if (log.isWarnEnabled()) {
                        log.warn(" Trying to load the same policy multiple times: "
                                + policies[i].getId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.