commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kedar Panse <>
Subject [HttpClient] NTLM Authentication
Date Fri, 19 Nov 2004 20:46:43 GMT
Hello group,

Currently I am using...httpclient-3.0

client.getState().setProxyCredentials(proxyrealm,proxyhost, new 
UsernamePasswordCredentials(proxyusername, proxypwd));

To set preemptive proxy authentication.  But seems doesnt seem to work 
if authentication scheme== NTLMScheme.  From the docs seems like I have 
to pass NTCredentials if proxy scheme is NTLM.

is there any way to set it abstract? Like give the credentials (put in 
domain instead of realm etc) and HttpClient chooses based on proxy it 

Any help is appreciated!




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message