Geronimo
  1. Geronimo
  2. GERONIMO-4099

Calling isUserInRole wipes out run-as info

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.x, 2.1.x, 2.2
    • Fix Version/s: 2.1.2, 2.2
    • Component/s: Tomcat
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      TomcatGeronimoRealm.hasRole sets callers which it has no business doing. These were already set during authentication. This wipes out the run-as info which was set earlier. Checking the principal is also unrelated to role checks in geronimo and should be omitted.

        Activity

        David Jencks created issue -
        Joe Bohn made changes -
        Field Original Value New Value
        Fix Version/s 2.1.x [ 12313103 ]
        Fix Version/s 2.1.2 [ 12313123 ]
        David Jencks made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            David Jencks
            Reporter:
            David Jencks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development