commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HttpClient] NTLM Authentication
Date Fri, 19 Nov 2004 21:12:21 GMT
Kedar,

NTLM authentication scheme requires several challenge/response exchanges
to complete and thus cannot be used preemptively. 

Oleg

On Fri, 2004-11-19 at 12:46 -0800, Kedar Panse wrote:
> 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
> 


---------------------------------------------------------------------
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