Examples of IdentityTrustModuleEntry


Examples of org.jboss.security.identitytrust.config.IdentityTrustModuleEntry

/* 312 */         flag = StringPropertyReplacer.replaceProperties(flag.trim());
/* 313 */       if (flag == null)
/* 314 */         flag = "REQUIRED";
/*     */       else
/* 316 */         flag = flag.toUpperCase();
/* 317 */       IdentityTrustModuleEntry entry = new IdentityTrustModuleEntry(code);
/* 318 */       if ("REQUIRED".equals(flag)) {
/* 319 */         entry.setControlFlag(ControlFlag.REQUIRED);
/*     */       }
/* 321 */       else if ("REQUISITE".equals(flag)) {
/* 322 */         entry.setControlFlag(ControlFlag.REQUISITE);
/*     */       }
/* 324 */       else if ("SUFFICIENT".equals(flag))
/* 325 */         entry.setControlFlag(ControlFlag.SUFFICIENT);
/*     */       else {
/* 327 */         entry.setControlFlag(ControlFlag.OPTIONAL);
/*     */       }
/* 329 */       child = entry;
/* 330 */       if (this.trace) {
/* 331 */         log.trace("newChild.IdentityTrustInfo, trust-module code: " + code);
/*     */       }
View Full Code Here

Examples of org.jboss.security.identitytrust.config.IdentityTrustModuleEntry

/* 146 */         this.auditProviderEntries.add(ameEntry);
/* 147 */       this.containsAudit = true;
/*     */     }
/* 149 */     else if ((value instanceof IdentityTrustModuleEntry))
/*     */     {
/* 151 */       IdentityTrustModuleEntry ameEntry = (IdentityTrustModuleEntry)value;
/* 152 */       if (!this.identityTrustModuleEntries.contains(ameEntry))
/* 153 */         this.identityTrustModuleEntries.add(ameEntry);
/* 154 */       this.containsIdentityTrust = true;
/*     */     }
/*     */   }
View Full Code Here

Examples of org.jboss.security.identitytrust.config.IdentityTrustModuleEntry

            auditProviderEntries.add(ameEntry);
         containsAudit = true;
      }
      else if (value instanceof IdentityTrustModuleEntry)
      {
         IdentityTrustModuleEntry ameEntry = (IdentityTrustModuleEntry) value;
         if (!identityTrustModuleEntries.contains(ameEntry))
            identityTrustModuleEntries.add(ameEntry);
         containsIdentityTrust = true;
      }
   }
View Full Code Here

Examples of org.jboss.security.identitytrust.config.IdentityTrustModuleEntry

         ControlFlag controlFlag = this.controlFlags.get(flag.toUpperCase());
         if (controlFlag == null)
            controlFlag = ControlFlag.REQUIRED;

         IdentityTrustModuleEntry entry = new IdentityTrustModuleEntry(code);
         entry.setControlFlag(controlFlag);

         child = entry;
         if (trace)
            log.trace("newChild.IdentityTrustInfo, trust-module code: " + code);
      }
View Full Code Here

Examples of org.jboss.security.identitytrust.config.IdentityTrustModuleEntry

        List<ModelNode> modules = node.get(TRUST_MODULES).asList();
        for (ModelNode module : modules) {
            String codeName = module.require(CODE).asString();
            ControlFlag controlFlag = ControlFlag.valueOf(module.require(FLAG).asString());
            Map<String, Object> options = extractOptions(module);
            IdentityTrustModuleEntry entry = new IdentityTrustModuleEntry(codeName, options);
            entry.setControlFlag(controlFlag);
            identityTrustInfo.add(entry);

        }
        applicationPolicy.setIdentityTrustInfo(identityTrustInfo);
        return true;
View Full Code Here

Examples of org.jboss.security.identitytrust.config.IdentityTrustModuleEntry

        List<ModelNode> modules = node.get(TRUST_MODULES).asList();
        for (ModelNode module : modules) {
            String codeName = module.require(CODE).asString();
            ControlFlag controlFlag = ControlFlag.valueOf(module.require(FLAG).asString());
            Map<String, Object> options = extractOptions(module);
            IdentityTrustModuleEntry entry = new IdentityTrustModuleEntry(codeName, options);
            entry.setControlFlag(controlFlag);
            identityTrustInfo.add(entry);

            String moduleName = module.get(MODULE).asString();
            if(module.hasDefined(MODULE) && moduleName != null &&  moduleName.length() > 0 ) {
                identityTrustInfo.setJBossModuleName(moduleName);
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.