|Summary:||JNDIRealm.java not parsing roles correctly|
|Component:||Catalina||Assignee:||Tomcat Developers Mailing List <dev>|
|Attachments:||small patch for JNDIRealm.java|
Description eric 2010-02-11 17:27:55 UTC
Created attachment 24972 [details] small patch for JNDIRealm.java According to the docs: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html it says roles can be specified by both userRoleName, AND roleName mechanisms. But, if both are used then the result is that userRoleName roles are excluded. I believe the correct approach is in the attached patch.
Comment 1 Mark Thomas 2010-03-09 12:16:37 UTC
Many thanks for the patch. This has been fixed in trunk and proposed for 6.0.x.
Comment 2 Mark Thomas 2010-05-24 08:05:51 UTC
This has been fixed in 6.0.x and will be included in 6.0.27 onwards.