Search in sources :

Example 1 with SecurityRoleRefNode

use of com.sun.enterprise.deployment.node.SecurityRoleRefNode in project Payara by payara.

the class EjbNode method writeRoleReferenceDescriptors.

/**
 * write  the security role references to the DOM Tree
 *
 * @param parentNode for the DOM tree
 * @param refs iterator over the RoleReference descriptors to write
 */
protected void writeRoleReferenceDescriptors(Node parentNode, Iterator refs) {
    SecurityRoleRefNode node = new SecurityRoleRefNode();
    for (; refs.hasNext(); ) {
        RoleReference roleRef = (RoleReference) refs.next();
        node.writeDescriptor(parentNode, TagNames.ROLE_REFERENCE, roleRef);
    }
}
Also used : RoleReference(com.sun.enterprise.deployment.RoleReference) SecurityRoleRefNode(com.sun.enterprise.deployment.node.SecurityRoleRefNode)

Aggregations

RoleReference (com.sun.enterprise.deployment.RoleReference)1 SecurityRoleRefNode (com.sun.enterprise.deployment.node.SecurityRoleRefNode)1