String id = domSecRole.getAttribute("id"); //$NON-NLS-1$
String description = DomUtils.getChildValue(domSecRole, "description"); //$NON-NLS-1$
String roleName = DomUtils.getChildValue(domSecRole, "role-name"); //$NON-NLS-1$
if (roleName != null)
{
SecurityRoleKey srk = new SecurityRoleKey();
srk.setId(id);
srk.setRoleName(roleName);
srk.setDescription(description);
securityRoles.add(srk);
}
}
return securityRoles;