You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Sid Subr <si...@yahoo.com> on 2004/01/02 22:15:07 UTC

preemptive authentication ...

on the same note of preemptive authentication.. I know
this question sounds dumb (when I read back the
contents)
but is there a way to send the authentication
digest/credentials with the first request so that the
request does not get challenged?

after reading preemptive  authentication for
httpclient in the authentication doc.. it seems this
preemptiveness is only possible with basic
authentication.. is this true?

Sid

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: preemptive authentication ...

Posted by Michael Becke <be...@u.washington.edu>.
Hi Sid,

HttpClient only supports using Basic authentication preemptively.  This 
is because both NTLM, and Digest require values sent by the server as 
part of the Authorization request to create the authorization response.

Mike

On Jan 2, 2004, at 4:15 PM, Sid Subr wrote:

> on the same note of preemptive authentication.. I know
> this question sounds dumb (when I read back the
> contents)
> but is there a way to send the authentication
> digest/credentials with the first request so that the
> request does not get challenged?
>
> after reading preemptive  authentication for
> httpclient in the authentication doc.. it seems this
> preemptiveness is only possible with basic
> authentication.. is this true?
>
> Sid
>
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> http://search.yahoo.com/top2003
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org