Package org.jasig.portal.container.om.servlet

Examples of org.jasig.portal.container.om.servlet.ResourceRefImpl


            DescriptionSet descriptions = getDescriptions(resourceRefE);
            String resRefName = XML.getChildElementText(resourceRefE, "res-ref-name");
            String resType = XML.getChildElementText(resourceRefE, "res-type");
            String resAuth = XML.getChildElementText(resourceRefE, "res-auth");
            String resSharingScope = XML.getChildElementText(resourceRefE, "res-sharing-scope");
            ResourceRefImpl resourceRef = new ResourceRefImpl();
            resourceRef.setDescriptions(descriptions);
            resourceRef.setResRefName(resRefName);
            resourceRef.setResType(resType);
            resourceRef.setResAuth(resAuth);
            resourceRef.setResSharingScope(resSharingScope);
            resourceRefs[i] = resourceRef;
        }
        return resourceRefs;
    }
View Full Code Here


       
        // <resource-ref>
        ResourceRefImpl[] resourceRefs = webAppImpl.getResourceRefs();
        if (resourceRefs != null) {
            for (int i = 0; i < resourceRefs.length; i++) {
                ResourceRefImpl resourceRef = resourceRefs[i];
                Element resourceRefE = doc.createElement("resource-ref");
                addDescriptions(resourceRefE, resourceRef.getDescriptions());
                addTextElement(resourceRefE, "res-ref-name", resourceRef.getResRefName());
                addTextElement(resourceRefE, "res-type", resourceRef.getResType());
                addTextElement(resourceRefE, "res-auth", resourceRef.getResAuth());
                addTextElement(resourceRefE, "res-sharing-scope", resourceRef.getResSharingScope());
                webAppE.appendChild(resourceRefE);
            }       
        }
       
        // <security-constraint>
View Full Code Here

TOP

Related Classes of org.jasig.portal.container.om.servlet.ResourceRefImpl

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.