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 the Windows API.
cheers, Roland "Russell, Brian" <[EMAIL PROTECTED]> 22.03.2004 12:09 Please respond to "Commons HttpClient Project" To: <[EMAIL PROTECTED]> cc: Subject: NTLM credentials. 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 the java.net.URLConnection, it will authenticate automatically, without me having to determine the users credentials. Is there some way that I can use httpClient to automatically pick up the data required for it's NTLM authentication? Or, alternatively, is there someway to determine the required data for the NTCredentials to pass to setProxyCredentials()? Any help would be appreciated. Brian. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]