cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: securing JAX RS
Date Fri, 05 Feb 2010 16:03:17 GMT
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.ramamoorthy.s@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.
>
>

Mime
View raw message