Examples of addSecurityRoleRef()


Examples of com.google.opengse.configuration.impl.MutableWebAppServlet.addSecurityRoleRef()

    public void parse(Object context, Node webappSubnode) throws SAXException {
      MutableWebAppServlet servlet = (MutableWebAppServlet) context;
      WebAppSecurityRoleRef securityRoleRef
          = (WebAppSecurityRoleRef) creator.create(webappSubnode);
      if (securityRoleRef != null) {
        servlet.addSecurityRoleRef(securityRoleRef);
      }
    }
  }

View Full Code Here

Examples of io.undertow.servlet.api.ServletInfo.addSecurityRoleRef()

                        }
                    }
                }
                if (servlet.getSecurityRoleRefs() != null) {
                    for (final SecurityRoleRefMetaData ref : servlet.getSecurityRoleRefs()) {
                        s.addSecurityRoleRef(ref.getRoleName(), ref.getRoleLink());
                    }
                }

                if (servlet.getMultipartConfig() != null) {
                    MultipartConfigMetaData mp = servlet.getMultipartConfig();
View Full Code Here

Examples of org.apache.jetspeed.om.portlet.PortletDefinition.addSecurityRoleRef()

                PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
                PortletDefinition def = app.getPortlet(paNodeBean.getName());

                if (newRoleName != null && newRoleLink != null)
                {
                    SecurityRoleRef securityRoleRef = def.addSecurityRoleRef(newRoleName);
                    securityRoleRef.setRoleLink(newRoleLink);

                    if (newLocale != null && newDescription != null)
                    {
                        Description desc = securityRoleRef.addDescription(newLocale);
View Full Code Here

Examples of org.apache.jetspeed.om.portlet.PortletDefinition.addSecurityRoleRef()

            copy.addSupportedPublishingEvent(eventDefRef.getQName());
        }
       
        for (SecurityRoleRef secRoleRef : source.getSecurityRoleRefs())
        {
            SecurityRoleRef copySecRoleRef = copy.addSecurityRoleRef(secRoleRef.getRoleName());
            copySecRoleRef.setRoleLink(secRoleRef.getRoleLink());
           
            for (Description desc : secRoleRef.getDescriptions())
            {
                Description copyDesc = copySecRoleRef.addDescription(desc.getLang());
View Full Code Here

Examples of org.apache.jetspeed.om.portlet.PortletDefinition.addSecurityRoleRef()

                PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
                PortletDefinition def = PortletApplicationUtils.getPortletOrClone(app, paNodeBean.getName());

                if (newRoleName != null && newRoleLink != null)
                {
                    SecurityRoleRef securityRoleRef = def.addSecurityRoleRef(newRoleName);
                    securityRoleRef.setRoleLink(newRoleLink);

                    if (newLocale != null && newDescription != null)
                    {
                        Description desc = securityRoleRef.addDescription(newLocale);
View Full Code Here

Examples of org.apache.jetspeed.om.portlet.PortletDefinition.addSecurityRoleRef()

            copy.addSupportedPublishingEvent(eventDefRef.getQName());
        }

        for (SecurityRoleRef secRoleRef : source.getSecurityRoleRefs())
        {
            SecurityRoleRef copySecRoleRef = copy.addSecurityRoleRef(secRoleRef.getRoleName());
            copySecRoleRef.setRoleLink(secRoleRef.getRoleLink());

            for (Description desc : secRoleRef.getDescriptions())
            {
                Description copyDesc = copySecRoleRef.addDescription(desc.getLang());
View Full Code Here

Examples of org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl.addSecurityRoleRef()

            copy.addSupportedPublishingEvent(eventDefRef.getQName());
        }
       
        for (SecurityRoleRef secRoleRef : source.getSecurityRoleRefs())
        {
            SecurityRoleRef copySecRoleRef = copy.addSecurityRoleRef(secRoleRef.getRoleName());
            copySecRoleRef.setRoleLink(secRoleRef.getRoleLink());
           
            for (Description desc : secRoleRef.getDescriptions())
            {
                Description copyDesc = copySecRoleRef.addDescription(desc.getLang());
View Full Code Here

Examples of org.gatein.pc.portlet.impl.metadata.PortletApplication10MetaData.addSecurityRoleRef()

            md.setPortletPreferences((PortletPreferencesMetaData)child);
         }
         // security-role-ref
         else if (child instanceof SecurityRoleRefMetaData)
         {
            md.addSecurityRoleRef((SecurityRoleRefMetaData)child);
         }
         // supported-events
         else if (child instanceof EventDefinitionReferenceMetaData)
         {
            if ("supported-processing-event".equals(localName))
View Full Code Here

Examples of org.gatein.pc.portlet.impl.metadata.PortletApplication10MetaData.addSecurityRoleRef()

            md.setPortletPreferences((PortletPreferencesMetaData)child);
         }
         // security-role-ref
         else if (child instanceof SecurityRoleRefMetaData)
         {
            md.addSecurityRoleRef((SecurityRoleRefMetaData)child);
         }
         // supported-events
         else if (child instanceof EventDefinitionReferenceMetaData)
         {
            if ("supported-processing-event".equals(localName))
View Full Code Here

Examples of org.gatein.pc.portlet.impl.metadata.PortletApplication20MetaData.addSecurityRoleRef()

            md.setPortletPreferences((PortletPreferencesMetaData)child);
         }
         // security-role-ref
         else if (child instanceof SecurityRoleRefMetaData)
         {
            md.addSecurityRoleRef((SecurityRoleRefMetaData)child);
         }
         // supported-events
         else if (child instanceof EventDefinitionReferenceMetaData)
         {
            if ("supported-processing-event".equals(localName))
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.