tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helge Waastad <he...@waastad.org>
Subject Re: Asynchronous principal propagation
Date Thu, 22 May 2014 12:36:47 GMT
I like 1.7.0-SNAPSHOT :-)

However, the problem still exsists.

I will try to produce a sample.

br hw


to., 22.05.2014 kl. 13.54 +0200, skrev Romain Manni-Bucau:

> 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 <helge@waastad.org>:
> 
> > 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
> > user@domain.com>
> >
> > Second request is unauthorized which ejb1 prints out "guest" however ejb2
> > prints out user@domain.com.......
> >
> > 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.
> >



Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message