[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1962) NullPointerException in getCallerPrincipal() for SessionContext when no security domain set

Vit Jonas (JIRA) jira-events at lists.jboss.org
Mon Nov 23 05:17:29 EST 2009


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

                 Key: EJBTHREE-1962
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1962
             Project: EJB 3.0
          Issue Type: Bug
          Components: Security
    Affects Versions: Plugin 1.0.18
         Environment: JBoss 5.1.0, JDK6, 'all' server configuration
            Reporter: Vit Jonas


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list