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

Stuart Douglas (Resolved) (JIRA) jira-events at lists.jboss.org
Sun Dec 18 21:06:09 EST 2011


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

Stuart Douglas resolved AS7-2970.
---------------------------------

    Resolution: Rejected


As far as I can see the test is bogus as the SFSB is never removed (in fact it does not even have a remove method).
                
> 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
>            Reporter: Ondřej Chaloupka
>            Assignee: Stuart Douglas
>
> 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