I'd like to inject my own SecurityContext but I can't find any good example
of how to do this easily. I discovered the ResteasyProviderFactory class
and it seems like I might be able to use the
ResteasyProviderFactory.pushContext method but this wouldn't let me create
a different SecurityContext for different requests. So perhaps I need to
use an Interceptor but looking at the Interceptor interface (
http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html_single/index.html#PreProcessInterceptors)
it's not clear how I could use it to inject my own SecurityContext into the
request. So, are there any examples on this? I'm sure somebody's tackled it
before. Thanks.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to