Dear All, In my scenario, I dont want to authenticate the user in JAX RS or CXF interceptor.I just want to go through the credentials to my external webservice. So it is enough to retrieve the credentials from Http Authentication and added to the soap header of the webservice.
Now I can able to retrieve the credentials. For the long time , I cannot be able to retrieve the credentials because of: In SoapUI, it is essestial to explicitly allow the authentication to outgoing request.I was not enable the options. Thanks for your support and help. Regards SaravananRamamoorthy Andreas Veithen-2 wrote: > > Everything depends on where you want authentication to happen: in the > container, in CXF (i.e. in an interceptor) or in the resource. > > Andreas > > On Fri, Feb 5, 2010 at 11:20, SaravananRamamoorthy > <saravanan.ramamoorth...@gmail.com> wrote: >> >> Dear All, >> >> To retrieve the Basic Authentication credentials using JAX RS, what are >> the >> steps to be followed. >> >> 1. Any configuration need in web.xml? >> 2. In Jax rs resource class , what parameter is used to retrieve the >> Basic >> authentication credentials like HeaderParam, MessageContext etc.. >> >> I have tried out with the link >> >> http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/ >> >> Please help me how to use this concept in resource class. >> >> Can anyone send the sample code to retrieve the credentials. >> >> Thanks for your help. >> >> Regards >> SaravananRamamoorthy >> -- >> View this message in context: >> http://old.nabble.com/securing-JAX-RS-tp27465890p27465890.html >> Sent from the cxf-user mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://old.nabble.com/securing-JAX-RS-tp27465890p27495302.html Sent from the cxf-user mailing list archive at Nabble.com.