hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Authentication retry behavior and NTLM in 3.0
Date Thu, 31 Mar 2005 08:06:15 GMT
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 <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] - <enter
GetMethod(String)>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <Java version:
1.4.2_07>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <Java vendor:
Sun Microsystems Inc.>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <Java class
path: C:\Program Files\Mindreef\Sputnik 1.0 Pre-Alpha\tomcat\bin\bootstrap.jar>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <Operating
system name: Windows XP>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <Operating
system architecture: x86>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <Operating
system version: 5.1>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <SUN 1.42:
SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 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] - <SunJSSE
1.42: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3,
TLSv1)>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <SunRsaSign
1.42: SUN's provider for RSA signatures>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <SunJCE
1.42: SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5,
HMAC-SHA1)>
> 2005-03-30 17:01:49,135 DEBUG [org.apache.commons.httpclient.HttpClient] - <SunJGSS
1.0: Sun (Kerberos v5)>
> 2005-03-30 17:01:49,155 DEBUG [org.apache.commons.httpclient.HttpState] - <enter HttpState.setCredentials(AuthScope,
Credentials)>
> 2005-03-30 17:01:49,155 DEBUG [org.apache.commons.httpclient.params.DefaultHttpParams]
- <Set parameter http.authentication.preemptive = true>
> 2005-03-30 17:01:49,155 DEBUG [org.apache.commons.httpclient.HttpState] - <enter HttpState.getCookies()>
> 2005-03-30 17:01:49,185 DEBUG [org.apache.commons.httpclient.HttpClient] - <enter
HttpClient.executeMethod(HttpMethod)>
> 2005-03-30 17:01:49,185 DEBUG [org.apache.commons.httpclient.HttpClient] - <enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)>
> 2005-03-30 17:01:49,205 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <Preemptively
sending default basic credentials>
> 2005-03-30 17:01:49,216 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <Authenticating
with BASIC <any realm>@tuna:80>
> 2005-03-30 17:01:49,216 DEBUG [org.apache.commons.httpclient.HttpState] - <enter HttpState.getCredentials(AuthScope)>
> 2005-03-30 17:01:49,216 DEBUG [org.apache.commons.httpclient.auth.BasicScheme] - <enter
BasicScheme.authenticate(Credentials, HttpMethod)>
> 2005-03-30 17:01:49,216 DEBUG [org.apache.commons.httpclient.params.HttpMethodParams]
- <Credential charset not configured, using HTTP element charset>
> 2005-03-30 17:01:49,216 DEBUG [org.apache.commons.httpclient.auth.BasicScheme] - <enter
BasicScheme.authenticate(UsernamePasswordCredentials, String)>
> 2005-03-30 17:01:49,226 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <HttpMethodBase.addRequestHeader(Header)>
> 2005-03-30 17:01:49,226 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <Attempt
number 1 to process request>
> 2005-03-30 17:01:49,226 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.open()>
> 2005-03-30 17:01:49,226 DEBUG [org.apache.commons.httpclient.HttpConnection] - <Open
connection to tuna:80>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.execute(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[], int, int)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <Adding
Host request header>
> 2005-03-30 17:01:49,246 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpState] - <enter HttpState.getCookies()>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.cookie.CookieSpec] - <enter
CookieSpecBase.match(String, int, String, boolean, Cookie[])>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[], int, int)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.writeLine()>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[], int, int)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.flushRequestOutputStream()>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readResponse(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,276 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.readLine()>
> 2005-03-30 17:01:49,286 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,286 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 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] - <enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.getResponseInputStream()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HeaderParser.parseHeaders(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,907 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 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] - <enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readResponseBody(HttpConnection)>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.getResponseInputStream()>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <Authorization
required>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <enter
HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,917 DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor]
- <Supported authentication schemes in the order of preference: [ntlm, digest, basic]>
> 2005-03-30 17:01:49,927 INFO [org.apache.commons.httpclient.auth.AuthChallengeProcessor]
- <ntlm authentication scheme selected>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor]
- <Using authentication scheme: ntlm>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpState] - <enter HttpState.getCredentials(AuthScope)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <Resorting
to protocol version default close connection policy>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <Should
NOT close connection, using HTTP/1.1>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.isResponseAvailable()>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.releaseConnection()>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpConnection] - <Connection
is locked.  Call to releaseConnection() ignored.>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <Attempt
number 1 to process request>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.execute(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String, String)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[], int, int)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <Adding
Host request header>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,927 DEBUG [org.apache.commons.httpclient.HttpState] - <enter HttpState.getCookies()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.cookie.CookieSpec] - <enter
CookieSpecBase.match(String, int, String, boolean, Cookie[])>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.print(String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[], int, int)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.writeLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[])>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.write(byte[], int, int)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
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] - <enter
HttpConnection.flushRequestOutputStream()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readResponse(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.readLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 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] - <enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.getResponseInputStream()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HeaderParser.parseHeaders(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,937 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readLine(InputStream, String)>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpParser] - <enter
HttpParser.readRawLine()>
> 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] - <enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpMethodBase] - <enter
HttpMethodBase.readResponseBody(HttpConnection)>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpConnection] - <enter
HttpConnection.getResponseInputStream()>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <Authorization
required>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.HttpMethodDirector] - <enter
HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)>
> 2005-03-30 17:01:49,947 DEBUG [org.apache.commons.httpclient.auth.AuthChallengeProcessor]
- <Using authentication scheme: ntlm>
> 2005-03-30 17:01:49,947 INFO [org.apache.commons.httpclient.HttpMethodDirector] - <Failure
authenticating with NTLM <any realm>@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


Mime
View raw message