Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7257

[GSS](7.0.3 patch) SPFormAuthenticationMechanism SAML principal is available only in web module, but not in ejb

XMLWordPrintable

    • Icon: Support Patch Support Patch
    • Resolution: Done
    • Icon: Major Major
    • Individual Patches.GA
    • 7.0.3.GA
    • Security
    • None
    • Hide
      To apply this individual patch, follow the steps outlined in How do I apply individual or cumulative patches in JBoss EAP 6.2 and beyond [1]?

          To rollback this individual patch if installation has unexpected consequences, follow the steps outlined in How do I rollback individual or cumulative patches in JBoss EAP 6.2 and beyond [2]?

              [1] https://access.redhat.com/site/solutions/625683
              [2] https://access.redhat.com/site/solutions/639403
      Show
      To apply this individual patch, follow the steps outlined in How do I apply individual or cumulative patches in JBoss EAP 6.2 and beyond [1]?     To rollback this individual patch if installation has unexpected consequences, follow the steps outlined in How do I rollback individual or cumulative patches in JBoss EAP 6.2 and beyond [2]?         [1] https://access.redhat.com/site/solutions/625683         [2] https://access.redhat.com/site/solutions/639403
    • +

      When I use SPServletExtension, the principal is only available in the web module and when I inject and call ejb method from ejb module, ejbContext.getCallerPrincipal() returns anonymous. I have an ear which consists of ejb and web module. To reproduce the problem you should have ear package with ejb module, try to inject the ejb in web module and call ejbContext.getCallerPrincipal(). It will return anonymous.

        1. idp.war
          6 kB
        2. jbeap-7257.zip
          261 kB
        3. SimpleEAR_EJB3.ear
          10 kB

              rhn-support-jawilson Jimmy Wilson
              rhn-support-dehort Derek Horton
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: