hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Wilson" <mike...@hotmail.com>
Subject RE: NTLM Authentication credentials
Date Mon, 18 Sep 2006 19:25:56 GMT
Sorry, I havent't followed your discussion from the start but here's
my 5c:

HttpClient has quite limited NTLM support, especially no support for
NTLM2 as is used in many enterprise intranets protected by MicroSoft

There is NTLM2 support in the Windows JDK since 1.4.2. Just use a 
standard HttpURLConnection and set the property 
"http.auth.ntlm.domain" to your NT domain, then you don't need to 
input any username/password at all as this will be sorted out by the 
authentication layer.
See: http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
(But then you will not be using HttpClient at all.)

There are commercial libraries for NTLM support on other platforms
than Windows, see f ex:


> -----Original Message-----
> From: David CastaƱeda [mailto:davidecr@gmail.com] 
> Sent: den 18 september 2006 20:56
> To: HttpClient User Discussion
> Subject: Re: NTLM Authentication credentials
> Thanks a lot :( I suppose there are some reasons to be like 
> this, but I was
> hopping it wasn't beause the JDK seems to support it nicely, one more
> thing... do you know some sort of similar implementation so I 
> can solve this
> or a post or an article where HttpClient team explains why? 
> so I can justify
> this to my boss?
> Sorry all this trouble....

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

View raw message