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);
}
}
Aggregations