https://bz.apache.org/bugzilla/show_bug.cgi?id=65351
--- Comment #1 from cklein05 <c.kl...@datagis.com> --- Provided method was not complete, in order to test for all/effective roles, of course (my bad). Testing explicitly assigned roles is still required so, this should be the correct version: public boolean isInEffectiveRole(Role role) { if (isInRole(role)) { return true; } synchronized (groups) { for (Group group : groups) { if (group.isInRole(role)) { return true; } } } return false; } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org