NTLM credentials.

2004-03-22 Thread Russell, Brian
Hi, I am attempting to use the httpClient component to authenticate on a proxy which uses NTLM authentication. I have managed to use it successfully, but only when I explicitly provide the data for the NTCredentials for the HttpClient.getState().setProxyCredentials(). In JDK 1.4.2, if I use

Re: NTLM credentials.

2004-03-22 Thread Roland Weber
Hello Brian, JDK for Windows uses Windows specific code to get the user's login credentials. HttpClient does not use Windows specific code, hence you're out of luck. You could analyse what the JDK does and replicate that in your application. But I guess you'd have to write native code to access

Re: Memory Leaks when web server hangs

2004-03-22 Thread Michael Becke
Hi Eric, Reusing the MultiThreadedHttpConnectionManager is definitely the way to go. As Roland mentions reusing HttpClient instances might help performance, but it is not necessary. Mike On Mar 22, 2004, at 2:01 AM, Eric Bloch wrote: I'm happy to change my code but have a version of my