Make HttpClient pick Basic Auth over NTLM?

2003-12-03 Thread anon permutation
Hi, I am using a proxy server that supports both NTLM and Basic Authentications. How do I make HttpClient use Basic Auth. instead of NTLM? I am using 2.0-rc2. Following is my code: ---

Re: can't seem to supress logging

2003-12-03 Thread Michael Becke
Hi Chris, I'm glad that has fixed the problem. As to the threading question, you are correct. You can safely use multiple instances of HttpClient from different threads. They do not share any static resources. The docs on multi-threading only apply if you would like to share a pool of conne

Re: can't seem to supress logging

2003-12-03 Thread christopher justin
wonderful, that seemed to work.. thanks alot Michael. I have one quick question that I will ask in this same email - In a multi-threaded environemnt, if each thread has its own HttpClient instance, this works just fine correct ? There is no statically shared object some where down the chain

Re: can't seem to supress logging

2003-12-03 Thread Michael Becke
From looking at the commons logging docs it seems that this could also happen if you are using a 1.4 JRE. If so, you can either configure logging using java.util.logging or set the following system property to default commons logging t

Re: can't seem to supress logging

2003-12-03 Thread christopher justin
really strange.. the only jars related to HttpClient that are in my path are commons-httpclient-2.0-rc1.jar and commons-logging.jar . And I have now I now made sure I set System.setProperty("org.apache.commons.logging.simplelog.defaultlog","fatal"); in my main method before any classes are

Re: can't seem to supress logging

2003-12-03 Thread Michael Becke
Hi Chris, There are two possibilities that I can think of: 1) The Log4j jar is on your classpath. When Log4j is detected it is used as the default logger and it controls the default log levels. 2) org.apache.commons.logging.simplelog.defaultlog is not being set soon enough. This property mus

can't seem to supress logging

2003-12-03 Thread christopher justin
hi all, this has been bugging me for over 24 hours now, so i figured i would ask your help on this probably really simple answer. I have set the following: System.setProperty("org.apache.commons.logging.simplelog.defaultlog","fatal"); But i still get WARNING and INFO message - I cannot seem to

Re: Integrated Windows authentication

2003-12-03 Thread Adrian Sutton
Hi there, > I managed to get HttpClient working with our proxy server, with the help of > our network people. According to them, it seems that the IIS server needs > to be enabled with both the 'Basic' and 'Integrated Windows' > authentications on. Previously, the 'Basic' authentication was not