users@jersey.java.net

Re: [Jersey] DIGEST Authentication with Jersey client

From: Pavel Bucek <Pavel.Bucek_at_Sun.COM>
Date: Thu, 03 Jun 2010 17:55:17 +0200

Hello,

you are not missing anything, client doesn't support DigestAuth yet.

I think we can include some support in 1.3, any help welcomed :)

Are you willing to help?

Regards,
Pavel

On 6/3/10 12:51 AM, Raphaël Jolivet wrote:
>
> Hi there,
>
> I have written a REST web service with Jersey Server (that totally rocks !).
> I am now developing the client part of it, with Jersey Client as well.
>
> On the server side, I have chosen a DIGEST authentication, because I
> personally think that BASIC authentication is an heresy that should be
> marked as "DEPRECATED" in our heads.
>
> Unfortunately, I do not see any support of the Digest authentication on the
> client side. For BASIC authentication, one does something like :
>
>
> client.addFilter(
> new HTTPBasicAuthFilter(
> user,
> password));
>
>
> But I see no "HTTPDigestAuthFilter" counterpart. Am I missing something ?
>
> Thanks for your help,
>
> Raphael
>
>