Hi, I am developing a secure web service using cxf 2.0, spring 2.5 on tomcat 6.
For each request coming I want to authenticate using ws-security (implemented), grab the user out of the database, and pass it around (as object) the following interceptors and also the web service impl. What is the best practice for doing this? I have considered placing the object in the HTTP servlet request, but that does not seem to be an easy or elegant option. Could I somehow use Springs request scope attribute to create some sort of holder bean for the life of the request? Or is this scenario taken care of magically by cxf and spring allowing me to simply add the user object to a singleton scoped bean? Thanks for your help. -- View this message in context: http://www.nabble.com/Share-object-in-request-scope-on-ws-server-tp14611572p14611572.html Sent from the cxf-user mailing list archive at Nabble.com.
