Package com.sun.enterprise.deployment.node.runtime.common

Examples of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode


  appendTextChild(web, RuntimeTagNames.CONTEXT_ROOT, bundleDescriptor.getContextRoot());
       
  // security-role-mapping
  SecurityRoleMapping[] roleMappings = sunWebApp.getSecurityRoleMapping();
  if (roleMappings!=null && roleMappings.length>0) {
      SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
      for (int i=0;i<roleMappings.length;i++) {
    srmn.writeDescriptor(web, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
      }
  }
 
  // servlet
  Set servlets = bundleDescriptor.getServletDescriptors();
View Full Code Here


        Node ejbs = super.writeDescriptor(parent, descriptor);

        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = bundleDescriptor.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(ejbs, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
 
      // entreprise-beans
        EntrepriseBeansRuntimeNode ejbsNode = new EntrepriseBeansRuntimeNode();
        ejbsNode.writeDescriptor(ejbs, RuntimeTagNames.EJBS, bundleDescriptor);
View Full Code Here

  appendTextChild(appNode, RuntimeTagNames.UNIQUE_ID, String.valueOf(application.getUniqueId()));
 
        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = application.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(appNode, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
       
        // realm?
        appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());
       
View Full Code Here

        // security-role-mapping
        SecurityRoleMapping[] roleMappings = sunSipApp.getSecurityRoleMapping();

        if ((roleMappings != null) && (roleMappings.length > 0)) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();

            for (int i = 0; i < roleMappings.length; i++) {
                srmn.writeDescriptor(web,
                    RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
            }
        }

        if (sunSipApp.getSessionConfig() != null) {
View Full Code Here

        // context-root?
  appendTextChild(web, RuntimeTagNames.CONTEXT_ROOT, bundleDescriptor.getContextRoot());
  // security-role-mapping
  SecurityRoleMapping[] roleMappings = sunWebApp.getSecurityRoleMapping();
  if (roleMappings!=null && roleMappings.length>0) {
      SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
      for (int i=0;i<roleMappings.length;i++) {
    srmn.writeDescriptor(web, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
      }
  }
 
        // servlet
        Set servlets = bundleDescriptor.getServletDescriptors();
View Full Code Here

        // domain.xml deployment context properties instead.
 
        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = application.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(appNode, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
       
        // realm?
        appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());

View Full Code Here

        Node ejbs = super.writeDescriptor(parent, bundleDescriptor);

        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = bundleDescriptor.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(ejbs, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
 
      // entreprise-beans
        EntrepriseBeansRuntimeNode ejbsNode = new EntrepriseBeansRuntimeNode();
        ejbsNode.writeDescriptor(ejbs, RuntimeTagNames.EJBS, bundleDescriptor);
View Full Code Here

  appendTextChild(web, RuntimeTagNames.CONTEXT_ROOT, bundleDescriptor.getContextRoot());
       
  // security-role-mapping
  SecurityRoleMapping[] roleMappings = sunWebApp.getSecurityRoleMapping();
  if (roleMappings!=null && roleMappings.length>0) {
      SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
      for (int i=0;i<roleMappings.length;i++) {
    srmn.writeDescriptor(web, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings[i]);
      }
  }
 
  // servlet
  Set servlets = bundleDescriptor.getServletDescriptors();
View Full Code Here

        // domain.xml deployment context properties instead.
 
        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = application.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(appNode, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
       
        // realm?
        appendTextChild(appNode, RuntimeTagNames.REALM, application.getRealm());

View Full Code Here

        Node ejbs = super.writeDescriptor(parent, bundleDescriptor);

        // security-role-mapping*
        List<SecurityRoleMapping> roleMappings = bundleDescriptor.getSecurityRoleMappings();
        for (int i = 0; i < roleMappings.size(); i++) {
            SecurityRoleMappingNode srmn = new SecurityRoleMappingNode();
            srmn.writeDescriptor(ejbs, RuntimeTagNames.SECURITY_ROLE_MAPPING, roleMappings.get(i));
        }
 
      // entreprise-beans
        EnterpriseBeansRuntimeNode ejbsNode = new EnterpriseBeansRuntimeNode();
        ejbsNode.writeDescriptor(ejbs, RuntimeTagNames.EJBS, bundleDescriptor);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.node.runtime.common.SecurityRoleMappingNode

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.