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

[GSS](7.0.z) SPFormAuthenticationMechanism SAML principal is available only in web module, but not in ejb

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.5.CR1, 7.0.5.GA
    • 7.0.2.GA
    • Security
    • None
    • EAP 7.0.5

      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.

            dtikhomi@redhat.com Dmitrii Tikhomirov
            rhn-support-bmaxwell Brad Maxwell
            Ivo Hradek Ivo Hradek (Inactive)
            Ivo Hradek Ivo Hradek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: