You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/02/11 18:27:57 UTC

DO NOT REPLY [Bug 48729] New: JNDIRealm.java not parsing roles correctly

https://issues.apache.org/bugzilla/show_bug.cgi?id=48729

           Summary: JNDIRealm.java not parsing roles correctly
           Product: Tomcat 6
           Version: 6.0.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: eric@lincware.com


Created an attachment (id=24972)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24972)
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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48729] JNDIRealm.java not parsing roles correctly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48729

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-03-09 12:16:37 UTC ---
Many thanks for the patch.

This has been fixed in trunk and proposed for 6.0.x.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48729] JNDIRealm.java not parsing roles correctly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48729

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-05-24 08:05:51 EDT ---
This has been fixed in 6.0.x and will be included in 6.0.27 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org