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 <[email protected]> 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. > >
