hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell, Brian" <Brian.Russ...@mottmac.com>
Subject NTLM credentials.
Date Mon, 22 Mar 2004 11:09:07 GMT
Hi,

I am attempting to use the httpClient component to authenticate on a
proxy which uses NTLM authentication.

I have managed to use it successfully, but only when I explicitly
provide the data for the NTCredentials for the
HttpClient.getState().setProxyCredentials(). 

In JDK 1.4.2, if I use the java.net.URLConnection, it will authenticate
automatically, without me having to determine the users credentials.

Is there some way that I can use httpClient to automatically pick up the
data required for it's NTLM authentication? Or, alternatively, is there
someway to determine the required data for the NTCredentials to pass to
setProxyCredentials()?

Any help would be appreciated.


Brian.

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


Mime
View raw message