If you call the 'ejb2' directly does that work?
Also, how are you accessing 'ejb2' from 'ejb1'?
Andy.
On 22/05/2014 13:54, Romain Manni-Bucau wrote:
Hi,
hehe kind of true but before I'd ask you to test 1.7.0-SNAPSHOT ;)
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-05-22 13:50 GMT+02:00 hwaastad <[email protected]>:
Hi,
I have an issue with principal propagation to an asynchronous EJB.
This is TomEE 1.6.0
Scenario:
-> Stateless EJB (ejb1) -> Asynchronous Stateless EJB(ejb2)
First Request is authorized to the container and
sessioncontext.getCallerPrincipal.getname is equal in both beans. (eks
[email protected]>
Second request is unauthorized which ejb1 prints out "guest" however ejb2
prints out [email protected].......
If I skip asynchronous its working as normal.
I guess the next question will be a sample project and I'll see what I can
do :-)
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/Asynchronous-principal-propagation-tp4669547.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
--
Andy Gumbrecht
http://www.tomitribe.com
[email protected]
https://twitter.com/AndyGeeDe
TomEE treibt Tomitribe! | http://tomee.apache.org