https://bz.apache.org/bugzilla/show_bug.cgi?id=55477
--- Comment #15 from Christopher Schultz <ch...@christopherschultz.net> --- (In reply to Michael Osipov from comment #14) > (In reply to Christopher Schultz from comment #13) > > I don't like the approach tying the mapping to the realm as depicted by you > or Stefan. Consider that a realm is not always bound to a context, maybe > also be in the server.xml. Great point. Also, mapping roles "in a realm" ends up mapping them for the whole context, not just for that one realm. > I have been using this: > http://mo-tomcat-ext.sourceforge.net/apidocs/net/sf/michaelo/tomcat/extras/ > listeners/PropertiesRoleMappingListener.html for years. I am not certain > whether it should remain a listener or should be a new configuration element > in the context.xml. I think this discussion must happen on the dev list. A listener seems fine to me. I'm happy to discuss on the dev@ list. -- 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