Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1962

NullPointerException in getCallerPrincipal() for SessionContext when no security domain set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.22, Plugin 1.0.19
    • Plugin 1.0.18
    • Security
    • None
    • jboss-ejb3-security:1.0.1

      If you try to call getCallerPrincipal() for injected SessionContext instance within EJB that has no security domain set, you got NullPointerException in org.jboss.ejb3.security.helpers.EJBContextHelper (line 99) ...

        1. EJBContextHelper.patch
          2 kB
          Ví­t Jonáš

              jaikiran Jaikiran Pai (Inactive)
              vit.jonas_jira Ví­t Jonáš (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: