On Fri, 2008-08-08 at 11:33 -0400, Jignesh Malkan wrote: > Hi, > > > > I am new to HttpClient and I am trying to open a Socket connection from > Applet to the Server tunneling through the ISA proxy. > > > > Proxy client works fine with Non-Authenticating Proxy but it fails when > I turn on "basic" or "Integrated" (NTLM) authentication. I have spent a > good amount of time and have not made much progress. So I decided to > call help from experts :-) > > > > I am using httpclient-3.0.1 and client machine will have a JRE version > >=1.5 > > > > Here is my code flow: > > 1. I detect proxy using ProxySelector.getDefault().select(new > URI(uri)); > 2. I set the System properties for https.proxySet=true, > https.proxyHost=proxyHost, https.proxyPort=proxyPort > 3. Next set these properties into TunnelBean and pass this to the > following method: >
The most likely reasons are: (1) credentials are wrong (2) the proxy server has been configured to disallow NTLMv1. HttpClient 3.1 supports NTLMv1 only. It does not support NTLMv2. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
