log.info("going for the roles now");
Iterator<Group> groups = subject.getPrincipals(java.security.acl.Group.class).iterator();
if (groups.hasNext()) {
log.info("getting role groups");
Group roles = (Group)groups.next();
Enumeration<?> roleEnum = roles.members();
while (roleEnum.hasMoreElements()) {
log.info("Role: " + roleEnum.nextElement());
}
}
} catch ( javax.naming.NamingException e ) {