users@jersey.java.net

Re: [Jersey] Jersey Client and Authentication

From: Steve Sims <steve_at_steveandgeorge.co.uk>
Date: Tue, 17 Mar 2009 17:05:19 +0000

Hi Denis,

If you use the latest release of Jersey (1.0.2) then the Apache client
based Client handles it much more smoothly. See
https://jersey.dev.java.net/servlets/ReadMsg?listName=users&msgNo=4165
for Paul's test case which shows various configurations of it.

Cheers,

Steve

Denis wrote:
> Hi,
>
> I would like to add an authentication method (basic, digest...) using
> the jersey client/server.
> I was thinking of adding the specific authentication header and add a
> filter to check that header on
> the server side.
> Do you know if there's a better way to manage it?
>
> Denis
>