Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14045

Elytron/Jaspic: UserPrincipal is not propagated from web-container to ejb-container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 20.0.1.Final
    • EJB, Security
    • None
    • Undefined
    • ---
    • ---

    Description

      We have implemented an oidc module on top of jaspic.

       

      While the call of getUserPrincipal().getName(); delivers the expected user

      The user principal is not propagated from the webcontainer to the ejb container.

      Calling ctx.getCallerPrincipal().getName(); in a ejb delivers ,,anonymous''.

      We have verified it with other application server (e.g. tomee with openejb) where it works fine.

       

      I didn't find anything in the documentation that  you need additional configurations for the ejb container. I also can't find a reason why it should not be automatically propagated to the ejb-container,  therefore i think it is a bug.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bernd.schatz@daimler.com Bernd Schatz (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: