commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kedar Panse <ke...@bancbridge.com>
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 
encounters?

Any help is appreciated!

Thanks

Kedar
|*

*|

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


Mime
View raw message