[jboss-jira] [JBoss JIRA] (AS7-2970) Method getCallerPrincipal in @PreDestroy of SFSB returns null

Stuart Douglas (Updated) (JIRA) jira-events at lists.jboss.org
Tue Jan 10 20:24:10 EST 2012


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

Stuart Douglas updated AS7-2970:
--------------------------------

        Fix Version/s: 7.1.0.Final
             Assignee: Ondřej Chaloupka  (was: Stuart Douglas)
    Affects Version/s: 7.1.0.CR1b
          Component/s: EJB


This has been fixed upstream. Ondrej, would you be able to submit a pull request for the tests?
                
> Method getCallerPrincipal in @PreDestroy of SFSB returns null
> -------------------------------------------------------------
>
>                 Key: AS7-2970
>                 URL: https://issues.jboss.org/browse/AS7-2970
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.0.CR1b
>            Reporter: Ondřej Chaloupka
>            Assignee: Ondřej Chaloupka
>             Fix For: 7.1.0.Final
>
>
> Method getCallerPrincipal in @PreDestroy method of SFSB returns null. 
> Calling of getCallerPrincipal in @PostConstruct and @PreDestroy method is allowed (EJB3.1 4.6.1).
> And for not authenticated user it should return "anonymous".
> Test: https://github.com/ochaloup/jboss-as/commits/JBQA-5483-test-migration-getcallerprincipal

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list