Package org.jboss.security.mapping.config

Examples of org.jboss.security.mapping.config.MappingModuleEntry


         if(type != null)
            type = StringPropertyReplacer.replaceProperties(type.trim());
         else
            type = "role";

         child = new MappingModuleEntry(code, new HashMap<String,Object>(), type);
         if (trace)
            log.trace("newChild.MappingInfo, mapping-module code: " + code +
                  ", mapping-module type: " + type);
      }
View Full Code Here


   }
  
   protected RoleMappingInfo createRoleMappingInfo(String domain)
   {
      RoleMappingInfo rmi = new RoleMappingInfo(domain);
      rmi.add(new MappingModuleEntry(this.roleMappingModule));
      return rmi;
   }
View Full Code Here

   }
  
   protected AttributeMappingInfo createAttributeMappingInfo(String domain)
   {
      AttributeMappingInfo rmi = new AttributeMappingInfo(domain);
      MappingModuleEntry mme = new MappingModuleEntry(this.attrMappingModule);
     
      ModuleOption option = new ModuleOption("anil.email", "anil@test");
      mme.add(option);
      rmi.add(mme);
      return rmi;
   }
View Full Code Here

   protected RoleMappingInfo createRoleMappingInfo(String domain, List<String> moduleNames)
   {
      RoleMappingInfo rmi = new RoleMappingInfo(domain);
      for(String mod:moduleNames)
      {
         rmi.add(new MappingModuleEntry(mod));
      }
      return rmi;
   }
View Full Code Here

                mappingType = module.get(TYPE).asString();
            else
                mappingType = MappingType.ROLE.toString();

            Map<String, Object> options = extractOptions(module);
            MappingModuleEntry entry = new MappingModuleEntry(codeName, options, mappingType);
            mappingInfo.add(entry);
            applicationPolicy.setMappingInfo(mappingType, mappingInfo);
        }

        return true;
View Full Code Here

                mappingType = module.get(TYPE).asString();
            else
                mappingType = MappingType.ROLE.toString();

            Map<String, Object> options = extractOptions(module);
            MappingModuleEntry entry = new MappingModuleEntry(codeName, options, mappingType);
            mappingInfo.add(entry);
            applicationPolicy.setMappingInfo(mappingType, mappingInfo);

            String moduleName = module.get(MODULE).asString();
            if(module.hasDefined(MODULE) && moduleName != null &&  moduleName.length() > 0 ) {
View Full Code Here

         log.trace("newChild.RoleMappingInfo, localName: "+localName);
      if("mapping-module".equals(localName))
      {
         String code = attrs.getValue("code");
         code = StringPropertyReplacer.replaceProperties(code.trim());
         MappingModuleEntry entry = new MappingModuleEntry(code)
         child = entry;
         if( trace )
            log.trace("newChild.RoleMappingInfo, mapping-module code: "+code);
      }
     
View Full Code Here

TOP

Related Classes of org.jboss.security.mapping.config.MappingModuleEntry

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.