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

Details

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

    Description

      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) ...

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: