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

Vit Jonas (JIRA) jira-events at lists.jboss.org
Wed Nov 25 07:13:30 EST 2009


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12496540#action_12496540 ] 

Vit Jonas commented on EJBTHREE-1962:
-------------------------------------

You are welcome :-)

> 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