modules.add(module);
moduleTypeMappings.put(module.getPath(), moduleNodeLocalName);
}
}
} else if (childLocalName.equals("security-role")) {
<BUG>Node roleNameNode = childNodeNamed(child, "role-name");

Node descriptionNode = childNodeNamed(child, "description");

String roleName = roleNameNode != null ? roleNameNode.text() : null;
String description = descriptionNode != null ? descriptionNode.text() : null;</BUG>
securityRoles.add(new DefaultEarSecurityRole(roleName, description));

modules.add(module);
moduleTypeMappings.put(module.getPath(), "web");
} else if (moduleNodeLocalName.equals("alt-dd")) {
assert module != null;
module.setAltDeployDescriptor(moduleNode.text());
