tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Custom Security for REST
Date Thu, 24 Jan 2013 16:38:52 GMT
Hi,

the issue is fixed on trunk

as a workaround maybe try to use EJB interceptors type
(@interceptors())...otherwise just use a filter and a threadlocal, it
should be far enough

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/1/24 dorwin <dorwins@gmail.com>

> Thank you, Romain
>
> Do you need a sample or are you ok with what i've sent? It will take me
> some
> time to create a pom for the example, as I've not used maven. I could
> probably get it pulled together tonight, though.
>
> Also, is there a way I can work around this? Can I create a servlet filter
> or a listener for the creation of a REST Context so that I create my own
> producer for the request? I would need to know what to observe. If I use a
> servlet filter, can I be guaranteed that the invocation of the filter,
> interceptor, and the pojo being used for the endpoint will all be serviced
> by the same thread?
>
> Thank you,
>
> Dorwin
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Custom-Security-for-REST-tp4660361p4660387.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

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