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

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Nov 25 05:59:29 EST 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai resolved EJBTHREE-1962.
------------------------------------

               Fix Version/s: 1.1.22
                              Plugin 1.0.19
                  Resolution: Done
    Component Fix Version(s): jboss-ejb3-security:1.0.1


The patch has been applied (with minor changes - added some comments) and the issue has been fixed. Thanks for reporting and the patch.


> 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
>            Assignee: jaikiran pai
>             Fix For: 1.1.22, Plugin 1.0.19
>
>         Attachments: EJBContextHelper.patch
>
>
> 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