Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 12791 invoked from network); 31 Mar 2005 16:16:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2005 16:16:12 -0000 Received: (qmail 18041 invoked by uid 500); 31 Mar 2005 16:16:11 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 18014 invoked by uid 500); 31 Mar 2005 16:16:11 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 17996 invoked by uid 99); 31 Mar 2005 16:16:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail2.bluewin.ch (HELO mail2.bluewin.ch) (195.186.4.73) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 31 Mar 2005 08:16:09 -0800 Received: from xbox.localdomain (83.79.1.4) by mail2.bluewin.ch (Bluewin 7.0.043) id 423AEC4700155E3F for httpclient-dev@jakarta.apache.org; Thu, 31 Mar 2005 16:16:06 +0000 Received: by xbox.localdomain (Postfix, from userid 1000) id 2B5CAB6EC6; Thu, 31 Mar 2005 18:16:17 +0200 (CEST) Date: Thu, 31 Mar 2005 18:16:16 +0200 From: Oleg Kalnichevski To: 'HttpClient Project' Subject: Re: Authentication retry behavior and NTLM in 3.0 Message-ID: <20050331161616.GA19861@xbox.localdomain> Mail-Followup-To: 'HttpClient Project' References: <20050331080615.GA19348@xbox.localdomain> <424A896E0013D0E1@mssbzhb-int.msg.bluewin.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424A896E0013D0E1@mssbzhb-int.msg.bluewin.ch> User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dave, This appears to be a bug. HttpClient is not supposed to just silently discard an authentication challenge. I'll see what I can do (unfortunately I no longer have access to legacy operating systems, such as Microsoft Windows ) Just in case would you be willing to help me fix the bug? Oleg On Thu, Mar 31, 2005 at 11:07:06AM -0500, Dave Seidel wrote: > Hi Oleg, > > I solved the problem, and it turned out to be an HttpClient usage issue. > I'm not sure whether it was because I had to figure out a necessary but > undoocumented procedure, or if it could be considered a bug in HttpClient. > > I traced into HttpMethodRirector on the failing request and noticed that on > the retry that promtForCredentials gets called, but since there was no > CredentialsProvider associated with the method, it would return null, and > the retry went out with no authentication header at all. > > So I am now associating a CredentialsProvider object with the method, and > it's working, for at least Basic and NTLM hosts (I don't have a Digest setup > to test yet). > > So is this just a documentation failure, or is it a bug? I've been creating > an HttpClient instance and using setState() to attach an HttpState instance > with all the necessary credentials (proxy and host), so it's really seems > redundant to have to provide a CredentialsProvider. > > - Dave > > -----Original Message----- > From: Oleg Kalnichevski [mailto:olegk@apache.org] > Sent: Thursday, March 31, 2005 3:06 AM > To: 'HttpClient Project' > Subject: Re: Authentication retry behavior and NTLM in 3.0 > > Hi Dave, > > I looked at the log and the only thing I can tell is that something is > obviously wrong. HttpClient seems to recognize the NTLM auth challenge > and seems to pick up credentials for it, but something gets messed up > past that point. I can't say whether this is a bug in HttpClient or > misconfiguration. Regardless, HttpClient should not be just silently > failing to respond to an authentication challenge, so some alterations to > HttpClient appear necessary. > > NTLM problems are notoriously difficult to troubleshoot. First of all, > if you want this issue resolved, you'll have get the latest SVN snapshot, > get it to compile, and be prepared to run some tests in your environment. > Please let me know if need any assistance obtaining HttpClient source > and compiling it. > > Oleg > > On Wed, Mar 30, 2005 at 05:05:22PM -0500, Dave Seidel wrote: > > Thanks, Oleg. The log is attached. > > > > - Dave > > > > -----Original Message----- > > From: Oleg Kalnichevski [mailto:olegk@apache.org] > > Sent: Wednesday, March 30, 2005 4:28 PM > > To: HttpClient Project > > Subject: Re: Authentication retry behavior and NTLM in 3.0 > > > > Dave, > > > > The NTLM authentication in HttpClient 3.0 is supposed to work exactly > > the same way as in HttpClient 2.0. Could you please post the complete > > wire log of the HTTP session? I'll take a look at it tomorrow > > > > http://jakarta.apache.org/commons/httpclient/3.0/logging.html > > > > Oleg > > > > > > On Wed, 2005-03-30 at 15:46 -0500, Dave Seidel wrote: > > > I'm finally migrating from 2.0 to 3.0 (RC1) and have run into a problem. > > In > > > 2.0, if I had authentication tokens I would just create an NTCredentials > > > object and add it to the HttpState and enable preemptive authentication. > > > Then during method.execute(), HttpClient would retry auth schemes > > (starting > > > with Basic) and until it had untilametly succeeded or failed. > > > > > > The problem I'm having now is that this isn't working for me with NTLM. > > If > > > I try to connect to an NTLM host, here's the sequence I'm seeing in > > > Ethereal: > > > > > > 1. HttpClient sends the first request out with an "Authorization: Basic" > > > header. > > > 2. The host returns with a 401 and the headers "WWW-Authenticate: > > Negotiate" > > > and "WWW-Authenticate: NTLM". > > > 3. HttpClient retries -- but with no authentication headers at all! > > > 4. The host repeats step 2. > > > 5. methods.execute() returns a 401. > > > > > > Step 3 is the concern. Is there something I need to set up for the > retry > > to > > > respond correctly to the negotiation request from the host? > > > > > > - Dave > > > > > > --- > > > Dave Seidel > > > http://www.mindreef.com > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org > > > > > 2005-03-30 17:01:49,135 DEBUG > [org.apache.commons.httpclient.methods.GetMethod] - GetMethod(String)> > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > Pre-Alpha\tomcat\bin\bootstrap.jar> > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > digests; SecureRandom; X.509 certificates; JKS keystore; PKIX > CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores)> > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > key/trust factories, SSLv3, TLSv1)> > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1)> > > 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,155 DEBUG [org.apache.commons.httpclient.HttpState] - > > > 2005-03-30 17:01:49,155 DEBUG > [org.apache.commons.httpclient.params.DefaultHttpParams] - http.authentication.preemptive = true> > > 2005-03-30 17:01:49,155 DEBUG [org.apache.commons.httpclient.HttpState] - > > > 2005-03-30 17:01:49,185 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,185 DEBUG [org.apache.commons.httpclient.HttpClient] - > > > 2005-03-30 17:01:49,205 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - default basic credentials> > > 2005-03-30 17:01:49,216 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - BASIC @tuna:80> > > 2005-03-30 17:01:49,216 DEBUG [org.apache.commons.httpclient.HttpState] - > > > 2005-03-30 17:01:49,216 DEBUG > [org.apache.commons.httpclient.auth.BasicScheme] - BasicScheme.authenticate(Credentials, HttpMethod)> > > 2005-03-30 17:01:49,216 DEBUG > [org.apache.commons.httpclient.params.HttpMethodParams] - charset not configured, using HTTP element charset> > > 2005-03-30 17:01:49,216 DEBUG > [org.apache.commons.httpclient.auth.BasicScheme] - BasicScheme.authenticate(UsernamePasswordCredentials, String)> > > 2005-03-30 17:01:49,226 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - > > > 2005-03-30 17:01:49,226 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - process request> > > 2005-03-30 17:01:49,226 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.open()> > > 2005-03-30 17:01:49,226 DEBUG > [org.apache.commons.httpclient.HttpConnection] - tuna:80> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.execute(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.writeRequest(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, > String)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - header> > > 2005-03-30 17:01:49,246 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpState] - > > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.cookie.CookieSpec] - CookieSpecBase.match(String, int, String, boolean, Cookie[])> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,276 DEBUG [httpclient.wire.header] - <>> "User-Agent: > Mindreef HTTP Client[\r][\n]"> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,276 DEBUG [httpclient.wire.header] - <>> > "Content-Type: text/html[\r][\n]"> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,276 DEBUG [httpclient.wire.header] - <>> > "Authorization: Basic dXNlcjpwYXNzd29yZA==[\r][\n]"> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,276 DEBUG [httpclient.wire.header] - <>> "Host: > tuna[\r][\n]"> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.writeLine()> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.flushRequestOutputStream()> > > 2005-03-30 17:01:49,276 DEBUG [httpclient.wire.header] - <>> "[\r][\n]"> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.flushRequestOutputStream()> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponse(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readStatusLine(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,276 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.readLine()> > > 2005-03-30 17:01:49,286 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,286 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [httpclient.wire.header] - <<< "HTTP/1.1 401 > Unauthorized[\r][\n]"> > > 2005-03-30 17:01:49,907 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)> > > 2005-03-30 17:01:49,907 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.getResponseInputStream()> > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< > "Content-Length: 1656[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< > "Content-Type: text/html[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< "Server: > Microsoft-IIS/6.0[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< > "WWW-Authenticate: Negotiate[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< > "WWW-Authenticate: NTLM[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< > "MicrosoftOfficeWebServer: 5.0_Pub[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< > "X-Powered-By: ASP.NET[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG [httpclient.wire.header] - <<< "Date: Wed, > 30 Mar 2005 22:01:46 GMT[\r][\n]"> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponseBody(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponseBody(HttpConnection)> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.getResponseInputStream()> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - required> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,917 DEBUG > [org.apache.commons.httpclient.auth.AuthChallengeProcessor] - authentication schemes in the order of preference: [ntlm, digest, basic]> > > 2005-03-30 17:01:49,927 INFO > [org.apache.commons.httpclient.auth.AuthChallengeProcessor] - authentication scheme selected> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.auth.AuthChallengeProcessor] - authentication scheme: ntlm> > > 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpState] - > > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - version default close connection policy> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - connection, using HTTP/1.1> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.isResponseAvailable()> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.releaseConnection()> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpConnection] - Call to releaseConnection() ignored.> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - process request> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.execute(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.writeRequest(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, > String)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - header> > > 2005-03-30 17:01:49,927 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpState] - > > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.cookie.CookieSpec] - CookieSpecBase.match(String, int, String, boolean, Cookie[])> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,937 DEBUG [httpclient.wire.header] - <>> "User-Agent: > Mindreef HTTP Client[\r][\n]"> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,937 DEBUG [httpclient.wire.header] - <>> > "Content-Type: text/html[\r][\n]"> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,937 DEBUG [httpclient.wire.header] - <>> "Host: > tuna[\r][\n]"> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.print(String)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.writeLine()> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[])> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.write(byte[], int, int)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.flushRequestOutputStream()> > > 2005-03-30 17:01:49,937 DEBUG [httpclient.wire.header] - <>> "[\r][\n]"> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.flushRequestOutputStream()> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponse(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readStatusLine(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.readLine()> > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [httpclient.wire.header] - <<< "HTTP/1.1 401 > Unauthorized[\r][\n]"> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)> > > 2005-03-30 17:01:49,937 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.getResponseInputStream()> > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpParser] - > > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< > "Content-Length: 1656[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< > "Content-Type: text/html[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< "Server: > Microsoft-IIS/6.0[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< > "WWW-Authenticate: Negotiate[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< > "WWW-Authenticate: NTLM[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< > "MicrosoftOfficeWebServer: 5.0_Pub[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< > "X-Powered-By: ASP.NET[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG [httpclient.wire.header] - <<< "Date: Wed, > 30 Mar 2005 22:01:46 GMT[\r][\n]"> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponseBody(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.HttpMethodBase] - HttpMethodBase.readResponseBody(HttpConnection)> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.HttpConnection] - HttpConnection.getResponseInputStream()> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - required> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.HttpMethodDirector] - HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)> > > 2005-03-30 17:01:49,947 DEBUG > [org.apache.commons.httpclient.auth.AuthChallengeProcessor] - authentication scheme: ntlm> > > 2005-03-30 17:01:49,947 INFO > [org.apache.commons.httpclient.HttpMethodDirector] - with NTLM @tuna:80> > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org