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

            Bug ID: 55746
           Summary: Add documentation for AllRolesMode for CombinedRealm
           Product: Tomcat 6
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: cedric.coura...@gmail.com

Created attachment 31012
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31012&action=edit
Patch for Tomcat6

The attribute "allRolesMode" is not listed in the attributes for the
CombinedRealm or LockOutRealm. I have been bitten by it as I thought it was
then sufficient to put it in each of the nested Realms. 
It appears that the check for HasResourcePermission is done on the
context.getRealm() which is not passed in the nested Realms in the case of
CombinedRealm.

I think just adding it to the documentation should be sufficient.

I only have a working copy of Tomcat 6 handy, so the patch is done to that
version.

-- 
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