This content has been marked as final.
Show 3 replies
-
1. Re: Seam Rest Module and Security
lightguard Oct 10, 2011 12:41 PM (in response to mariogiurlanda)I've asked Jozef to respond
-
2. Re: Seam Rest Module and Security
mariogiurlanda Oct 12, 2011 6:44 AM (in response to mariogiurlanda)I solved my issue.
You need to annotate your class with
@ServerInterceptor
and@Provider
and then add it to a JaxRs Application object as a resource.Still some issues because CDI injection is not working. I'm trying to inject an Identity object to perform validation upon a rest request but no luck so far
-
3. Re: Seam Rest Module and Security
jharting Oct 17, 2011 7:29 AM (in response to mariogiurlanda)Mario, I implemented CDI injection into RESTEasy interceptors in RESTEASY-493 a while ago. Unfortunately, JBoss AS 7.0.2 bundles an older version of the resteasy-cdi integration module. Any chance you could upgrade your AS installation with resteasy-cdi 2.2.2.GA?