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: e...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to