I have written my own authentication scheme to support negotiate scheme used
by Windows integrated authentication.
In order to use HttpClient to access a web server with integrated
authentication via a proxy server also with integrated authentication, I
need a way to control what authentication scheme it uses.
I think only this combination would work.
 
NTLM proxy + Negotiate web server
 
Both proxy server and web server will support Negotiate and NTLM scheme in
the headers.
 
But one HttpClient instance can only use one auth scheme priority list at a
time. If I specify NTLM has a higher priority than Negotiate, HttpClient
will try to use NTLM to authenticate with the web server which will fail.
How can I resolve it?
 
Also, can I share a MultiThreadedHttpConnectionManager by more than one
instance of HttpClient?
 
 
Alan

Reply via email to