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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Plugin 1.0.18
    • Fix Version/s: 1.1.22, Plugin 1.0.19
    • Component/s: Security
    • Labels:
      None
    • Environment:

      JBoss 5.1.0, JDK6, 'all' server configuration

    • Component Fix Version(s):
      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) ...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jaikiran Jaikiran Pai
                  Reporter:
                  vit.jonas Ví­t Jonáš
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: