Details
-
Bug
-
Resolution: Done
-
Major
-
7.1.0.CR1b
-
None
Description
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