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

Examples of com.sun.enterprise.deployment.runtime.common.wls.SecurityRoleAssignment


    public SecurityRoleAssignmentNode() {
    }

    @Override
    protected SecurityRoleAssignment createDescriptor() {
        return new SecurityRoleAssignment();
    }
View Full Code Here


     *                                              
     * @param element the xml element               
     * @param value it's associated value
     */
    public void setElementValue(XMLElement element, String value) {
        SecurityRoleAssignment sra = (SecurityRoleAssignment) getDescriptor();
        if (RuntimeTagNames.ROLE_NAME.equals(element.getQName())) {
            sra.setRoleName(value);
        } else if (RuntimeTagNames.PRINCIPAL_NAME.equals(element.getQName())) {
            sra.addPrincipalName(value);
        } else if (RuntimeTagNames.EXTERNALLY_DEFINED.equals(element.getQName())) {
            sra.setExternallyDefined();
        } else {
            super.setElementValue(element, value);
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.runtime.common.wls.SecurityRoleAssignment

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.