SecurityRolesMetaData roles = getDelegate().getSecurityRoles();
if (roles == null)
return Collections.emptyMap();
Map<String, SecurityRoleMetaData> result = new LinkedHashMap<String, SecurityRoleMetaData>(roles.size());
for (org.jboss.metadata.javaee.spec.SecurityRoleMetaData role : roles)
result.put(role.getRoleName(), new SecurityRoleMetaData(role));
return result;
}