You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Bob Anderson <mu...@gmail.com> on 2012/06/27 16:54:28 UTC

HTTPClient retry authentication

Hi,

  I have clients using HTTPClient with NTLM set on the client.  We are
changing the backend and it only supports Kerberos and BASIC.  Does the
HTTPClient send the BASIC credentials (Userid and Password) if NTLM is not
available on the server? If the answer is Yes how long has this support
been there and what HTTPClient version support this?  If this is not how
the HTTPClient works any suggestions for overriding teh NTLM on the client
using configuration setting.  I do not want to have all the client re-write
the code.  If I need to upgrade the HTTPClient is this difficult?

Regards,

 - Bob

Re: HTTPClient retry authentication

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2012-06-27 at 10:54 -0400, Bob Anderson wrote:
> Hi,
> 
>   I have clients using HTTPClient with NTLM set on the client.  We are
> changing the backend and it only supports Kerberos and BASIC.  Does the
> HTTPClient send the BASIC credentials (Userid and Password) if NTLM is not
> available on the server? If the answer is Yes how long has this support
> been there and what HTTPClient version support this?  If this is not how
> the HTTPClient works any suggestions for overriding teh NTLM on the client
> using configuration setting.  I do not want to have all the client re-write
> the code.  If I need to upgrade the HTTPClient is this difficult?
> 
> Regards,
> 
>  - Bob

All versions of HttpClient respond to auth challenges included in the
server response message. As long as the auth challenge does not include
NTLM as one of the supported auth schemes, HttpClient will not attempt
to authenticate using that scheme.

Oleg   

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org