Hmm.. that explains it.

Thanks,

Kedar



Oleg Kalnichevski wrote:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to