-
Bug
-
Resolution: Done
-
Blocker
-
11.0.0.Alpha1
-
None
When elytron profile of testsuite enabled, DefaultManagedThreadFactoryTestCase fails, because caller principal is not passed into new thread:
java.lang.IllegalStateException: the caller principal anonymous is not the expected guest (TestEJBRunnable.java:70)
Lets have:
new InitialContext().lookup("java:comp/EJBContext").getCallerPrincipal()
- On DefaultManagedThreadFactoryTestEJB:63 (in EJB, but outside of new thread yet) it gives correctly "guest".
- On DefaultManagedThreadFactoryTestEJB:70 (inside Runnable) it gives "anonymous".
- clones
-
JBEAP-12056 No caller principal in new thread created from EJB (elytron)
- Closed