while (iterator.hasNext()) {
Principal principal = (Principal) iterator.next();
if (principal instanceof Group
&& principal.getName().equalsIgnoreCase("Roles")) {
Group group = (Group) principal;
Enumeration members = group.members();
while (members.hasMoreElements()) {
Principal member = (Principal) members.nextElement();
String role = rolemaps.getProperty(member.getName());
system = system || "full".equalsIgnoreCase(role);
anonymous = anonymous || "read".equalsIgnoreCase(role);