Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-1491

Resolve the isUserInRole mapping problem in the web container

    Details

    • Similar Issues:
      Show 9 results 

      Description

      The 4.0.2RC1 release cannot be done until the current isUserInRole failures are resolved. The problem is the integration of the custom principal from the authentication layer to the request getUserPrincpal is resulting in the tomcat GenericPrincipal being lost along with its roles.

        Activity

        Hide
        Scott Stark
        added a comment -

        JBossSecurityMgrRealm overrides hasRole to retrieve the the caller principal to roles mapping cached from authentication since the CustomPrincipalValve overrides the request principal to provide the login principal to the web app.

        Show
        Scott Stark
        added a comment - JBossSecurityMgrRealm overrides hasRole to retrieve the the caller principal to roles mapping cached from authentication since the CustomPrincipalValve overrides the request principal to provide the login principal to the web app.

          People

          • Assignee:
            Scott Stark
            Reporter:
            Scott Stark
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: