runAsNode.writeDescriptor(myNode, WebTagNames.RUNAS_SPECIFIED_IDENTITY, runAs);
}
// sercurity-role-ref*
Enumeration roleRefs = descriptor.getSecurityRoleReferences();
SecurityRoleRefNode roleRefNode = new SecurityRoleRefNode();
while (roleRefs.hasMoreElements()) {
roleRefNode.writeDescriptor(myNode, WebTagNames.ROLE_REFERENCE,
(RoleReference) roleRefs.nextElement());
}
return myNode;
}