You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Stefan Huggenberger <hu...@huggi.ch> on 2011/07/20 14:02:35 UTC

NTLMv2 against sharepoint

hello httpclient users
I have a problem with the NTLM login against a sharepoint server. We 
have different servers. On one server, the login works fine, on the 
others it didn't work.

I append the relevant part of the source code, the "not working log" and 
the "working log" as well.

In the http Header is also written: WWW-Authenticate: Basic 
realm="workspace-t.domain.com"
This is the only different I could recognized.

I am very grateful for any information.
Stefan



=====Source Code=====
DefaultHttpClient httpclient = new DefaultHttpClient();
List<String> authpref = new ArrayList<String>()
authpref.add(AuthPolicy.NTLM)
httpclient.getParams().setParameter(AuthPNames.TARGET_AUTH_PREF, authpref)
NTCredentials creds = new NTCredentials(user, password, localhost, domain);
httpclient.getCredentialsProvider().setCredentials(AuthScope.ANY, creds);
HttpHost target = new HttpHost(base, port, protocol);
HttpGet httpget = new HttpGet(uri);
BasicHttpContext localContext = new BasicHttpContext();
HttpResponse response1 = httpclient.execute(target, httpget, localContext);


=====Not working log =====
2011-07-20 11:35:50,611 [http-8080-12] DEBUG 
conn.SingleClientConnManager  - Get connection for route 
HttpRoute[{s}->https://workspace-t.domain.com:443]
2011-07-20 11:35:50,611 [http-8080-12] DEBUG 
conn.DefaultClientConnectionOperator  - Connecting to 
workspace-t.domain.com/141.73.44.16:443
2011-07-20 11:35:50,830 [http-8080-12] DEBUG protocol.RequestAddCookies  
- CookieSpec selected: best-match
2011-07-20 11:35:50,830 [http-8080-12] DEBUG protocol.RequestAuthCache  
- Auth cache not set in the context
2011-07-20 11:35:50,830 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Attempt 1 to execute request
2011-07-20 11:35:50,830 [http-8080-12] DEBUG 
conn.DefaultClientConnection  - Sending request: GET 
/content/10003204/Default.aspx HTTP/1.1
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "GET 
/content/10003204/Default.aspx HTTP/1.1[\r][\n]"
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "Host: 
workspace-t.domain.com:443[\r][\n]"
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> 
"Connection: Keep-Alive[\r][\n]"
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> 
"User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "[\r][\n]"
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> GET 
/content/10003204/Default.aspx HTTP/1.1
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> Host: 
workspace-t.domain.com:443
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> 
Connection: Keep-Alive
2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "HTTP/1.1 
401 Unauthorized[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"Connection: Keep-Alive[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"Content-Length: 16[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Date: Wed, 
20 Jul 2011 09:35:50 GMT[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"Content-Type: text/html; charset=utf-8[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Server: 
Microsoft-IIS/6.0[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: Negotiate[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: NTLM[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: Basic realm="workspace-t.domain.com"[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"X-Powered-By: ASP.NET[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"X-AspNet-Version: 2.0.50727[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << 
"Cache-Control: private[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG 
conn.DefaultClientConnection  - Receiving response: HTTP/1.1 401 
Unauthorized
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << HTTP/1.1 
401 Unauthorized
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
Connection: Keep-Alive
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
Content-Length: 16
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << Date: 
Wed, 20 Jul 2011 09:35:50 GMT
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
Content-Type: text/html; charset=utf-8
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << Server: 
Microsoft-IIS/6.0
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: Negotiate
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: NTLM
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: Basic realm="workspace-t.domain.com"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
MicrosoftSharePointTeamServices: 12.0.0.6548
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
X-Powered-By: ASP.NET
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
X-AspNet-Version: 2.0.50727
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << 
Cache-Control: private
2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Connection can be kept alive indefinitely
2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Target requested authentication
2011-07-20 11:35:51,033 [http-8080-12] DEBUG 
client.DefaultTargetAuthenticationHandler  - Authentication schemes in 
the order of preference: [NTLM]
2011-07-20 11:35:51,033 [http-8080-12] DEBUG 
client.DefaultTargetAuthenticationHandler  - NTLM authentication scheme 
selected
2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authorization challenge processed
2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authentication scope: NTLM <any realm>@workspace-t.domain.com:443
2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Found credentials
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "401 
UNAUTHORIZED"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG protocol.RequestAddCookies  
- CookieSpec selected: best-match
2011-07-20 11:35:51,033 [http-8080-12] DEBUG protocol.RequestAuthCache  
- Auth cache not set in the context
2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Attempt 2 to execute request
2011-07-20 11:35:51,033 [http-8080-12] DEBUG 
conn.DefaultClientConnection  - Sending request: GET 
/content/10003204/Default.aspx HTTP/1.1
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "GET 
/content/10003204/Default.aspx HTTP/1.1[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "Host: 
workspace-t.domain.com:443[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> 
"Connection: Keep-Alive[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> 
"User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> 
"Authorization: NTLM 
TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "[\r][\n]"
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> GET 
/content/10003204/Default.aspx HTTP/1.1
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> Host: 
workspace-t.domain.com:443
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> 
Connection: Keep-Alive
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> 
Authorization: NTLM 
TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "HTTP/1.1 
401 Unauthorized[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"Connection: Keep-Alive[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"Content-Length: 1539[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "Date: Wed, 
20 Jul 2011 09:35:50 GMT[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"Content-Type: text/html[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "Server: 
Microsoft-IIS/6.0[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: NTLM 
TlRMTVNTUAACAAAACgAKADgAAAA1AokiqTgXEM4g4TUAAAAAAAAAAJ4AngBCAAAABQLODgAAAA9XAFcAMAAwADQAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAAA=[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"X-Powered-By: ASP.NET[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG 
conn.DefaultClientConnection  - Receiving response: HTTP/1.1 401 
Unauthorized
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << HTTP/1.1 
401 Unauthorized
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << 
Connection: Keep-Alive
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << 
Content-Length: 1539
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << Date: 
Wed, 20 Jul 2011 09:35:50 GMT
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << 
Content-Type: text/html
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << Server: 
Microsoft-IIS/6.0
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: NTLM 
TlRMTVNTUAACAAAACgAKADgAAAA1AokiqTgXEM4g4TUAAAAAAAAAAJ4AngBCAAAABQLODgAAAA9XAFcAMAAwADQAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAAA=
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << 
MicrosoftSharePointTeamServices: 12.0.0.6548
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << 
X-Powered-By: ASP.NET
2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Connection can be kept alive indefinitely
2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Target requested authentication
2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authorization challenge processed
2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authentication scope: NTLM <any realm>@workspace-t.domain.com:443
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<!DOCTYPE 
HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"<HTML><HEAD><TITLE>You are not authorized to view this 
page</TITLE>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<META 
HTTP-EQUIV="Content-Type" Content="text/html; 
charset=Windows-1252">[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<STYLE 
type="text/css">[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  BODY { 
font: 8pt/12pt verdana }[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  H1 { 
font: 13pt/15pt verdana }[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  H2 { 
font: 8pt/12pt verdana }[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  A:link { 
color: red }[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  
A:visited { color: maroon }[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"</STYLE>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<h1>You 
are not authorized to view this page</h1>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "You do not 
have permission to view this directory or page using the credentials 
that you supplied.[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<hr>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<p>Please 
try the following:</p>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<ul>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"<li>Contact the Web site administrator if you believe you should be 
able to view this directory or page.</li>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Click 
the <a href="javascript:location.reload()">Refresh</a> button to try 
again w"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "ith 
different credentials.</li>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "</ul>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<h2>HTTP 
Error 401.1 - Unauthorized: Access is denied due to invalid 
credentials.<br>Internet Information Services (IIS)</h2>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<hr>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"<p>Technical Information (for support personnel)</p>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<ul>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Go to 
<a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product 
Support Services</a> and perform a title search for the words 
<b>HTTP</b> and <b>401</b>.</li>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Open 
<b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << " and 
search for topics titled <b>Authentication</b>, <b>Access Control</b>, 
and <b>About Custom Error Messages</b>.</li>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "</ul>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << 
"</TD></TR></TABLE></BODY></HTML>[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG protocol.RequestAddCookies  
- CookieSpec selected: best-match
2011-07-20 11:35:51,298 [http-8080-12] DEBUG protocol.RequestAuthCache  
- Auth cache not set in the context
2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Attempt 3 to execute request
2011-07-20 11:35:51,298 [http-8080-12] DEBUG 
conn.DefaultClientConnection  - Sending request: GET 
/content/10003204/Default.aspx HTTP/1.1
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "GET 
/content/10003204/Default.aspx HTTP/1.1[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "Host: 
workspace-t.domain.com:443[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> 
"Connection: Keep-Alive[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> 
"User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> 
"Authorization: NTLM 
TlRMTVNTUAADAAAAGAAYAEAAAADKAMoAWAAAAAoACgAiAQAAEgASACwBAAAQABAAPgEAAAAAAABOAQAANQIIILeZSZlCCT2IqNaJo3ENVKesFSuQ3J4TuDCW4LnnLfTKQ2RGSsNmIq0BAQAAAAAAACBuAGrARswBrBUrkNyeE7gAAAAAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAABDAEgAMAAwADEAYwBoAGEAegB6ADEANQA0AHgAQwBIAEEASwAxADAANgBDAA==[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "[\r][\n]"
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> GET 
/content/10003204/Default.aspx HTTP/1.1
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> Host: 
workspace-t.domain.com:443
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> 
Connection: Keep-Alive
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> 
Authorization: NTLM 
TlRMTVNTUAADAAAAGAAYAEAAAADKAMoAWAAAAAoACgAiAQAAEgASACwBAAAQABAAPgEAAAAAAABOAQAANQIIILeZSZlCCT2IqNaJo3ENVKesFSuQ3J4TuDCW4LnnLfTKQ2RGSsNmIq0BAQAAAAAAACBuAGrARswBrBUrkNyeE7gAAAAAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAABDAEgAMAAwADEAYwBoAGEAegB6ADEANQA0AHgAQwBIAEEASwAxADAANgBDAA==
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "HTTP/1.1 
401 Unauthorized[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"Connection: Keep-Alive[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"Content-Length: 1539[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "Date: Wed, 
20 Jul 2011 09:35:50 GMT[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"Content-Type: text/html[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "Server: 
Microsoft-IIS/6.0[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: Negotiate[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: NTLM[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"WWW-Authenticate: Basic realm="workspace-t.domain.com"[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << 
"X-Powered-By: ASP.NET[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG 
conn.DefaultClientConnection  - Receiving response: HTTP/1.1 401 
Unauthorized
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << HTTP/1.1 
401 Unauthorized
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
Connection: Keep-Alive
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
Content-Length: 1539
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << Date: 
Wed, 20 Jul 2011 09:35:50 GMT
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
Content-Type: text/html
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << Server: 
Microsoft-IIS/6.0
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: Negotiate
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: NTLM
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
WWW-Authenticate: Basic realm="workspace-t.domain.com"
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
MicrosoftSharePointTeamServices: 12.0.0.6548
2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << 
X-Powered-By: ASP.NET
2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Connection can be kept alive indefinitely
2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Target requested authentication
2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authorization challenge processed
2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authentication scope: NTLM <any realm>@workspace-t.domain.com:443
2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  - 
Authentication failed



=====Working log =====
2011-07-20 12:02:07,905 [http-8080-6] DEBUG 
conn.SingleClientConnManager  - Get connection for route 
HttpRoute[{s}->https://collaboration.domain.ch:443]
2011-07-20 12:02:07,905 [http-8080-6] DEBUG 
conn.DefaultClientConnectionOperator  - Connecting to 
collaboration.domain.ch/139.16.10.184:443
2011-07-20 12:02:11,342 [http-8080-6] DEBUG protocol.RequestAddCookies  
- CookieSpec selected: best-match
2011-07-20 12:02:11,342 [http-8080-6] DEBUG protocol.RequestAuthCache  - 
Auth cache not set in the context
2011-07-20 12:02:11,342 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Attempt 1 to execute request
2011-07-20 12:02:11,342 [http-8080-6] DEBUG 
conn.DefaultClientConnection  - Sending request: GET 
/content/10000282/Default.aspx HTTP/1.1
2011-07-20 12:02:11,342 [http-8080-6] DEBUG http.wire  - >> "GET 
/content/10000282/Default.aspx HTTP/1.1[\r][\n]"
2011-07-20 12:02:11,342 [http-8080-6] DEBUG http.wire  - >> "Host: 
collaboration.domain.ch:443[\r][\n]"
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  - >> "Connection: 
Keep-Alive[\r][\n]"
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  - >> "User-Agent: 
Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  - >> "[\r][\n]"
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> GET 
/content/10000282/Default.aspx HTTP/1.1
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> Host: 
collaboration.domain.ch:443
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> 
Connection: Keep-Alive
2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "HTTP/1.1 
401 Unauthorized[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"Cache-Control: private[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"Content-Length: 16[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"Content-Type: text/html; charset=utf-8[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Server: 
Microsoft-IIS/7.0[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"X-AspNet-Version: 2.0.50727[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"WWW-Authenticate: Negotiate[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"WWW-Authenticate: NTLM[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"X-Powered-By: ASP.NET[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << 
"MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Date: Wed, 
20 Jul 2011 10:02:10 GMT[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG 
conn.DefaultClientConnection  - Receiving response: HTTP/1.1 401 
Unauthorized
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << HTTP/1.1 
401 Unauthorized
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
Cache-Control: private
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
Content-Length: 16
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
Content-Type: text/html; charset=utf-8
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << Server: 
Microsoft-IIS/7.0
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
X-AspNet-Version: 2.0.50727
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
WWW-Authenticate: Negotiate
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
WWW-Authenticate: NTLM
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
X-Powered-By: ASP.NET
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << 
MicrosoftSharePointTeamServices: 12.0.0.6341
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << Date: 
Wed, 20 Jul 2011 10:02:10 GMT
2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Connection can be kept alive indefinitely
2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Target requested authentication
2011-07-20 12:02:11,388 [http-8080-6] DEBUG 
client.DefaultTargetAuthenticationHandler  - Authentication schemes in 
the order of preference: [NTLM]
2011-07-20 12:02:11,388 [http-8080-6] DEBUG 
client.DefaultTargetAuthenticationHandler  - NTLM authentication scheme 
selected
2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Authorization challenge processed
2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Authentication scope: NTLM <any realm>@collaboration.domain.ch:443
2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Found credentials
2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "401 
UNAUTHORIZED"
2011-07-20 12:02:11,388 [http-8080-6] DEBUG protocol.RequestAddCookies  
- CookieSpec selected: best-match
2011-07-20 12:02:11,388 [http-8080-6] DEBUG protocol.RequestAuthCache  - 
Auth cache not set in the context
2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Attempt 2 to execute request
2011-07-20 12:02:11,388 [http-8080-6] DEBUG 
conn.DefaultClientConnection  - Sending request: GET 
/content/10000282/Default.aspx HTTP/1.1
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "GET 
/content/10000282/Default.aspx HTTP/1.1[\r][\n]"
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "Host: 
collaboration.domain.ch:443[\r][\n]"
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "Connection: 
Keep-Alive[\r][\n]"
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "User-Agent: 
Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> 
"Authorization: NTLM 
TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==[\r][\n]"
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "[\r][\n]"
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> GET 
/content/10000282/Default.aspx HTTP/1.1
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> Host: 
collaboration.domain.ch:443
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> 
Connection: Keep-Alive
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> 
Authorization: NTLM 
TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "HTTP/1.1 
401 Unauthorized[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "Server: 
Microsoft-IIS/7.0[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << 
"WWW-Authenticate: NTLM 
TlRMTVNTUAACAAAACgAKADgAAAA1AokifGMt1n6CwGgAAAAAAAAAAKoAqgBCAAAABgByFwAAAA9DAEgAMAAwADEAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAAA=[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << 
"WWW-Authenticate: Negotiate[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << 
"X-Powered-By: ASP.NET[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << 
"MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "Date: Wed, 
20 Jul 2011 10:02:10 GMT[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << 
"Content-Length: 0[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG 
conn.DefaultClientConnection  - Receiving response: HTTP/1.1 401 
Unauthorized
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << HTTP/1.1 
401 Unauthorized
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << Server: 
Microsoft-IIS/7.0
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << 
WWW-Authenticate: NTLM 
TlRMTVNTUAACAAAACgAKADgAAAA1AokifGMt1n6CwGgAAAAAAAAAAKoAqgBCAAAABgByFwAAAA9DAEgAMAAwADEAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAAA=
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << 
WWW-Authenticate: Negotiate
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << 
X-Powered-By: ASP.NET
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << 
MicrosoftSharePointTeamServices: 12.0.0.6341
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << Date: 
Wed, 20 Jul 2011 10:02:10 GMT
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << 
Content-Length: 0
2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Connection can be kept alive indefinitely
2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Target requested authentication
2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Authorization challenge processed
2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Authentication scope: NTLM <any realm>@collaboration.domain.ch:443
2011-07-20 12:02:11,435 [http-8080-6] DEBUG protocol.RequestAddCookies  
- CookieSpec selected: best-match
2011-07-20 12:02:11,435 [http-8080-6] DEBUG protocol.RequestAuthCache  - 
Auth cache not set in the context
2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  - 
Attempt 3 to execute request
2011-07-20 12:02:11,435 [http-8080-6] DEBUG 
conn.DefaultClientConnection  - Sending request: GET 
/content/10000282/Default.aspx HTTP/1.1
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "GET 
/content/10000282/Default.aspx HTTP/1.1[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "Host: 
collaboration.domain.ch:443[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "Connection: 
Keep-Alive[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "User-Agent: 
Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> 
"Authorization: NTLM 
TlRMTVNTUAADAAAAGAAYAEAAAADWANYAWAAAAAoACgAuAQAAEAAQADgBAAAQABAASAEAAAAAAABYAQAANQIIICS9lukRgDsGsDIakgIUoTKj+1/jO8qQvgFvnuF6f0osvHpb/I8h6kUBAQAAAAAAALAz1hfERswBo/tf4zvKkL4AAAAAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAABDAEgAMAAwADEAYwBoAGEAaAB1AGcAcwAwAEMASABBAEsAMQAwADYAQwA=[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "[\r][\n]"
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> GET 
/content/10000282/Default.aspx HTTP/1.1
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> Host: 
collaboration.domain.ch:443
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> 
Connection: Keep-Alive
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> 
Authorization: NTLM 
TlRMTVNTUAADAAAAGAAYAEAAAADWANYAWAAAAAoACgAuAQAAEAAQADgBAAAQABAASAEAAAAAAABYAQAANQIIICS9lukRgDsGsDIakgIUoTKj+1/jO8qQvgFvnuF6f0osvHpb/I8h6kUBAQAAAAAAALAz1hfERswBo/tf4zvKkL4AAAAAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAABDAEgAMAAwADEAYwBoAGEAaAB1AGcAcwAwAEMASABBAEsAMQAwADYAQwA=
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "HTTP/1.1 
200 OK[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"Cache-Control: private, max-age=0[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"Content-Length: 101906[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"Content-Type: text/html; charset=utf-8[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Expires: 
Tue, 05 Jul 2011 10:02:10 GMT[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"Last-Modified: Wed, 20 Jul 2011 10:02:10 GMT[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Server: 
Microsoft-IIS/7.0[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"X-AspNet-Version: 2.0.50727[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Set-Cookie: 
WSS_KeepSessionAuthenticated=443; path=/[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Set-Cookie: 
https%3A%2F%2Fcollaboration%2Edomain%2Ech%2Fcontent%2F10000282%2FDiscovery=WorkspaceSiteName=RE5TIFAtU3lzdGVtIENI&WorkspaceSiteUrl=aHR0cHM6Ly9jb2xsYWJvcmF0aW9uLnNpZW1lbnMuY2gvY29udGVudC8xMDAwMDI4Mg==&WorkspaceSiteTime=MjAxMS0wNy0yMFQxMDowMjoxMA==; 
expires=Fri, 19-Aug-2011 10:02:10 GMT; 
path=/_vti_bin/Discovery.asmx[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"X-Powered-By: ASP.NET[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << 
"MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Date: Wed, 
20 Jul 2011 10:02:10 GMT[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "[\r][\n]"
2011-07-20 12:02:11,638 [http-8080-6] DEBUG 
conn.DefaultClientConnection  - Receiving response: HTTP/1.1 200 OK
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << HTTP/1.1 
200 OK
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
Cache-Control: private, max-age=0
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
Content-Length: 101906
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
Content-Type: text/html; charset=utf-8
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Expires: 
Tue, 05 Jul 2011 10:02:10 GMT
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
Last-Modified: Wed, 20 Jul 2011 10:02:10 GMT
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Server: 
Microsoft-IIS/7.0
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
X-AspNet-Version: 2.0.50727
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
Set-Cookie: WSS_KeepSessionAuthenticated=443; path=/
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
Set-Cookie: 
https%3A%2F%2Fcollaboration%2Edomain%2Ech%2Fcontent%2F10000282%2FDiscovery=WorkspaceSiteName=RE5TIFAtU3lzdGVtIENI&WorkspaceSiteUrl=aHR0cHM6Ly9jb2xsYWJvcmF0aW9uLnNpZW1lbnMuY2gvY29udGVudC8xMDAwMDI4Mg==&WorkspaceSiteTime=MjAxMS0wNy0yMFQxMDowMjoxMA==; 
expires=Fri, 19-Aug-2011 10:02:10 GMT; path=/_vti_bin/Discovery.asmx
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
X-Powered-By: ASP.NET
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << 
MicrosoftSharePointTeamServices: 12.0.0.6341
2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Date: 
Wed, 20 Jul 2011 10:02:10 GMT

Re: NTLMv2 against sharepoint

Posted by Stefan Huggenberger <hu...@huggi.ch>.

Am 20.07.2011 17:35, schrieb Oleg Kalnichevski:
> On Wed, 2011-07-20 at 16:48 +0200, Stefan Huggenberger wrote:
>> Am 20.07.2011 16:07, schrieb Oleg Kalnichevski:
>>> On Wed, 2011-07-20 at 15:32 +0200, Stefan Huggenberger wrote:
>>>> Thanks Sam for the hints. It has to fail on the java side. A perl ntmlv2
>>>> login works fine?!
>>>>
>>>> Thanks,
>>>> Stefan
>>>>
>>> The NTLM engine implementation used by HttpClient 4.1 is known to have
>>> flaws. You may have better luck with JCIFS engine. For details see:
>>>
>>> http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/site/apt/ntlm.apt
>>>
>>> Oleg
>> Thanks a lot Oleg. With the JCIFS implementation it works fine.
>>
>> But on the jcifs homepage is written: "IMPORTANT: All HTTP related code
>> and corresponding documentation in JCIFS is not supported, no longer
>> maintained and will be removed because it is broken and obsolete (and
>> because HTTP has nothing to do with CIFS). This page remains only for
>> informational purposes and for legacy users. "
>>
> Deprecation of the "HTTP related code" does not imply deprecation of the
> NTLM engine itself. CIFS is still fully supported.
really great
>> Should I open a Bug in the apache httpclient project?
> It is a known bug, but so far no one expressed any interest in fixing
> it.
>
> https://issues.apache.org/jira/browse/HTTPCLIENT-1080
>
>>   In my opinion it's
>> better not to support NTLM or implement it correctly ;)
> I, for one, would be very happy to discontinue support for NTLM
;) I agree. Unfortunately NTLM is important for many business applications.
>> It is written on
>> the apache page, that NTLM is fully supported.
>>
> The problem was discovered after the last release and actually
> HttpClient does fully support NTLM as far as the HTTP protocol is
> concerned. You said it worked for you, did not you?
Yes, everything works perfect. Thanks again!
Stefan
> Having said all that, I'll see that the page gets updated with the 4.1.2
> release.
>
> Oleg
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: NTLMv2 against sharepoint

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2011-07-20 at 16:48 +0200, Stefan Huggenberger wrote:
> 
> Am 20.07.2011 16:07, schrieb Oleg Kalnichevski:
> > On Wed, 2011-07-20 at 15:32 +0200, Stefan Huggenberger wrote:
> >> Thanks Sam for the hints. It has to fail on the java side. A perl ntmlv2
> >> login works fine?!
> >>
> >> Thanks,
> >> Stefan
> >>
> > The NTLM engine implementation used by HttpClient 4.1 is known to have
> > flaws. You may have better luck with JCIFS engine. For details see:
> >
> > http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/site/apt/ntlm.apt
> >
> > Oleg
> Thanks a lot Oleg. With the JCIFS implementation it works fine.
> 
> But on the jcifs homepage is written: "IMPORTANT: All HTTP related code 
> and corresponding documentation in JCIFS is not supported, no longer 
> maintained and will be removed because it is broken and obsolete (and 
> because HTTP has nothing to do with CIFS). This page remains only for 
> informational purposes and for legacy users. "
> 

Deprecation of the "HTTP related code" does not imply deprecation of the
NTLM engine itself. CIFS is still fully supported. 

> Should I open a Bug in the apache httpclient project?

It is a known bug, but so far no one expressed any interest in fixing
it.

https://issues.apache.org/jira/browse/HTTPCLIENT-1080

>  In my opinion it's 
> better not to support NTLM or implement it correctly ;) 

I, for one, would be very happy to discontinue support for NTLM

> It is written on 
> the apache page, that NTLM is fully supported.
> 

The problem was discovered after the last release and actually
HttpClient does fully support NTLM as far as the HTTP protocol is
concerned. You said it worked for you, did not you?

Having said all that, I'll see that the page gets updated with the 4.1.2
release. 

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: NTLMv2 against sharepoint

Posted by Stefan Huggenberger <hu...@huggi.ch>.

Am 20.07.2011 16:07, schrieb Oleg Kalnichevski:
> On Wed, 2011-07-20 at 15:32 +0200, Stefan Huggenberger wrote:
>> Thanks Sam for the hints. It has to fail on the java side. A perl ntmlv2
>> login works fine?!
>>
>> Thanks,
>> Stefan
>>
> The NTLM engine implementation used by HttpClient 4.1 is known to have
> flaws. You may have better luck with JCIFS engine. For details see:
>
> http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/site/apt/ntlm.apt
>
> Oleg
Thanks a lot Oleg. With the JCIFS implementation it works fine.

But on the jcifs homepage is written: "IMPORTANT: All HTTP related code 
and corresponding documentation in JCIFS is not supported, no longer 
maintained and will be removed because it is broken and obsolete (and 
because HTTP has nothing to do with CIFS). This page remains only for 
informational purposes and for legacy users. "

Should I open a Bug in the apache httpclient project? In my opinion it's 
better not to support NTLM or implement it correctly ;) It is written on 
the apache page, that NTLM is fully supported.

Thank you very much again.
Stefan
>
>
>> Am 20.07.2011 14:14, schrieb Sam Crawford:
>>> The "not working" server appears to be on IIS 6 and it looks like it
>>> has the Basic Authentication option checked in the Virtual Server /
>>> Directory window. Perhaps try unchecking that to make it more
>>> consistent with the IIS 7 server?
>>>
>>> That said, it looks to me like HttpClient is handling it correctly
>>> anyway (it's responding with NTLM auth).
>>>
>>> Perhaps it'd be wise to compare the settings screens of the two
>>> servers side-by-side to check for any obvious differences. Also, what
>>> does the Windows Event/Security log show on the "not working" server?
>>>
>>> Thanks,
>>>
>>> Sam
>>>
>>>
>>>
>>> On 20 July 2011 13:02, Stefan Huggenberger<hu...@huggi.ch>   wrote:
>>>> hello httpclient users
>>>> I have a problem with the NTLM login against a sharepoint server. We have
>>>> different servers. On one server, the login works fine, on the others it
>>>> didn't work.
>>>>
>>>> I append the relevant part of the source code, the "not working log" and the
>>>> "working log" as well.
>>>>
>>>> In the http Header is also written: WWW-Authenticate: Basic
>>>> realm="workspace-t.domain.com"
>>>> This is the only different I could recognized.
>>>>
>>>> I am very grateful for any information.
>>>> Stefan
>>>>
>>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: NTLMv2 against sharepoint

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2011-07-20 at 15:32 +0200, Stefan Huggenberger wrote:
> Thanks Sam for the hints. It has to fail on the java side. A perl ntmlv2 
> login works fine?!
> 
> Thanks,
> Stefan
> 

The NTLM engine implementation used by HttpClient 4.1 is known to have
flaws. You may have better luck with JCIFS engine. For details see:

http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/src/site/apt/ntlm.apt

Oleg



> Am 20.07.2011 14:14, schrieb Sam Crawford:
> > The "not working" server appears to be on IIS 6 and it looks like it
> > has the Basic Authentication option checked in the Virtual Server /
> > Directory window. Perhaps try unchecking that to make it more
> > consistent with the IIS 7 server?
> >
> > That said, it looks to me like HttpClient is handling it correctly
> > anyway (it's responding with NTLM auth).
> >
> > Perhaps it'd be wise to compare the settings screens of the two
> > servers side-by-side to check for any obvious differences. Also, what
> > does the Windows Event/Security log show on the "not working" server?
> >
> > Thanks,
> >
> > Sam
> >
> >
> >
> > On 20 July 2011 13:02, Stefan Huggenberger<hu...@huggi.ch>  wrote:
> >> hello httpclient users
> >> I have a problem with the NTLM login against a sharepoint server. We have
> >> different servers. On one server, the login works fine, on the others it
> >> didn't work.
> >>
> >> I append the relevant part of the source code, the "not working log" and the
> >> "working log" as well.
> >>
> >> In the http Header is also written: WWW-Authenticate: Basic
> >> realm="workspace-t.domain.com"
> >> This is the only different I could recognized.
> >>
> >> I am very grateful for any information.
> >> Stefan
> >>
> >>


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: NTLMv2 against sharepoint

Posted by Stefan Huggenberger <hu...@huggi.ch>.
Thanks Sam for the hints. It has to fail on the java side. A perl ntmlv2 
login works fine?!

Thanks,
Stefan

Am 20.07.2011 14:14, schrieb Sam Crawford:
> The "not working" server appears to be on IIS 6 and it looks like it
> has the Basic Authentication option checked in the Virtual Server /
> Directory window. Perhaps try unchecking that to make it more
> consistent with the IIS 7 server?
>
> That said, it looks to me like HttpClient is handling it correctly
> anyway (it's responding with NTLM auth).
>
> Perhaps it'd be wise to compare the settings screens of the two
> servers side-by-side to check for any obvious differences. Also, what
> does the Windows Event/Security log show on the "not working" server?
>
> Thanks,
>
> Sam
>
>
>
> On 20 July 2011 13:02, Stefan Huggenberger<hu...@huggi.ch>  wrote:
>> hello httpclient users
>> I have a problem with the NTLM login against a sharepoint server. We have
>> different servers. On one server, the login works fine, on the others it
>> didn't work.
>>
>> I append the relevant part of the source code, the "not working log" and the
>> "working log" as well.
>>
>> In the http Header is also written: WWW-Authenticate: Basic
>> realm="workspace-t.domain.com"
>> This is the only different I could recognized.
>>
>> I am very grateful for any information.
>> Stefan
>>
>>
>>
>> =====Source Code=====
>> DefaultHttpClient httpclient = new DefaultHttpClient();
>> List<String>  authpref = new ArrayList<String>()
>> authpref.add(AuthPolicy.NTLM)
>> httpclient.getParams().setParameter(AuthPNames.TARGET_AUTH_PREF, authpref)
>> NTCredentials creds = new NTCredentials(user, password, localhost, domain);
>> httpclient.getCredentialsProvider().setCredentials(AuthScope.ANY, creds);
>> HttpHost target = new HttpHost(base, port, protocol);
>> HttpGet httpget = new HttpGet(uri);
>> BasicHttpContext localContext = new BasicHttpContext();
>> HttpResponse response1 = httpclient.execute(target, httpget, localContext);
>>
>>
>> =====Not working log =====
>> 2011-07-20 11:35:50,611 [http-8080-12] DEBUG conn.SingleClientConnManager  -
>> Get connection for route HttpRoute[{s}->https://workspace-t.domain.com:443]
>> 2011-07-20 11:35:50,611 [http-8080-12] DEBUG
>> conn.DefaultClientConnectionOperator  - Connecting to
>> workspace-t.domain.com/141.73.44.16:443
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG protocol.RequestAddCookies  -
>> CookieSpec selected: best-match
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG protocol.RequestAuthCache  -
>> Auth cache not set in the context
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Attempt 1 to execute request
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG conn.DefaultClientConnection  -
>> Sending request: GET /content/10003204/Default.aspx HTTP/1.1
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  ->>  "GET
>> /content/10003204/Default.aspx HTTP/1.1[\r][\n]"
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  ->>  "Host:
>> workspace-t.domain.com:443[\r][\n]"
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  ->>  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  ->>  "User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  ->>  "[\r][\n]"
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  ->>  GET
>> /content/10003204/Default.aspx HTTP/1.1
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  ->>  Host:
>> workspace-t.domain.com:443
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  ->>  Connection:
>> Keep-Alive
>> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  ->>  User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "HTTP/1.1 401
>> Unauthorized[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<
>> "Content-Length: 16[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "Date: Wed, 20
>> Jul 2011 09:35:50 GMT[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "Content-Type:
>> text/html; charset=utf-8[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "Server:
>> Microsoft-IIS/6.0[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: Negotiate[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: NTLM[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: Basic realm="workspace-t.domain.com"[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<
>> "MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "X-Powered-By:
>> ASP.NET[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<
>> "X-AspNet-Version: 2.0.50727[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "Cache-Control:
>> private[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG conn.DefaultClientConnection  -
>> Receiving response: HTTP/1.1 401 Unauthorized
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<  HTTP/1.1 401
>> Unauthorized
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<  Connection:
>> Keep-Alive
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> Content-Length: 16
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<  Date: Wed,
>> 20 Jul 2011 09:35:50 GMT
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> Content-Type: text/html; charset=utf-8
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<  Server:
>> Microsoft-IIS/6.0
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: Negotiate
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: NTLM
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: Basic realm="workspace-t.domain.com"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> MicrosoftSharePointTeamServices: 12.0.0.6548
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> X-Powered-By: ASP.NET
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> X-AspNet-Version: 2.0.50727
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  -<<
>> Cache-Control: private
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Connection can be kept alive indefinitely
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Target requested authentication
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG
>> client.DefaultTargetAuthenticationHandler  - Authentication schemes in the
>> order of preference: [NTLM]
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG
>> client.DefaultTargetAuthenticationHandler  - NTLM authentication scheme
>> selected
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authorization challenge processed
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authentication scope: NTLM<any realm>@workspace-t.domain.com:443
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Found credentials
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  -<<  "401
>> UNAUTHORIZED"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG protocol.RequestAddCookies  -
>> CookieSpec selected: best-match
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG protocol.RequestAuthCache  -
>> Auth cache not set in the context
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Attempt 2 to execute request
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG conn.DefaultClientConnection  -
>> Sending request: GET /content/10003204/Default.aspx HTTP/1.1
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  ->>  "GET
>> /content/10003204/Default.aspx HTTP/1.1[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  ->>  "Host:
>> workspace-t.domain.com:443[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  ->>  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  ->>  "User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  ->>  "Authorization:
>> NTLM
>> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  ->>  "[\r][\n]"
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  ->>  GET
>> /content/10003204/Default.aspx HTTP/1.1
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  ->>  Host:
>> workspace-t.domain.com:443
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  ->>  Connection:
>> Keep-Alive
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  ->>  User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  ->>
>> Authorization: NTLM
>> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "HTTP/1.1 401
>> Unauthorized[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "Content-Length: 1539[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "Date: Wed, 20
>> Jul 2011 09:35:50 GMT[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "Content-Type:
>> text/html[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "Server:
>> Microsoft-IIS/6.0[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: NTLM
>> TlRMTVNTUAACAAAACgAKADgAAAA1AokiqTgXEM4g4TUAAAAAAAAAAJ4AngBCAAAABQLODgAAAA9XAFcAMAAwADQAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAAA=[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "X-Powered-By:
>> ASP.NET[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG conn.DefaultClientConnection  -
>> Receiving response: HTTP/1.1 401 Unauthorized
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<  HTTP/1.1 401
>> Unauthorized
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<  Connection:
>> Keep-Alive
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<
>> Content-Length: 1539
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<  Date: Wed,
>> 20 Jul 2011 09:35:50 GMT
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<
>> Content-Type: text/html
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<  Server:
>> Microsoft-IIS/6.0
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: NTLM
>> TlRMTVNTUAACAAAACgAKADgAAAA1AokiqTgXEM4g4TUAAAAAAAAAAJ4AngBCAAAABQLODgAAAA9XAFcAMAAwADQAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAAA=
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<
>> MicrosoftSharePointTeamServices: 12.0.0.6548
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  -<<
>> X-Powered-By: ASP.NET
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Connection can be kept alive indefinitely
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Target requested authentication
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authorization challenge processed
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authentication scope: NTLM<any realm>@workspace-t.domain.com:443
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<!DOCTYPE HTML
>> PUBLIC "-//W3C//DTD HTML 4.01//EN"
>> "http://www.w3.org/TR/html4/strict.dtd">[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "<HTML><HEAD><TITLE>You are not authorized to view this
>> page</TITLE>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<META
>> HTTP-EQUIV="Content-Type" Content="text/html;
>> charset=Windows-1252">[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<STYLE
>> type="text/css">[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "  BODY { font:
>> 8pt/12pt verdana }[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "  H1 { font:
>> 13pt/15pt verdana }[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "  H2 { font:
>> 8pt/12pt verdana }[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "  A:link {
>> color: red }[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "  A:visited {
>> color: maroon }[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "</STYLE>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<h1>You are
>> not authorized to view this page</h1>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "You do not
>> have permission to view this directory or page using the credentials that
>> you supplied.[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<hr>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<p>Please try
>> the following:</p>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<ul>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<li>Contact
>> the Web site administrator if you believe you should be able to view this
>> directory or page.</li>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<li>Click the
>> <a href="javascript:location.reload()">Refresh</a>  button to try again w"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "ith different
>> credentials.</li>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "</ul>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<h2>HTTP Error
>> 401.1 - Unauthorized: Access is denied due to invalid
>> credentials.<br>Internet Information Services (IIS)</h2>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<hr>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<p>Technical
>> Information (for support personnel)</p>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<ul>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<li>Go to<a
>> href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support
>> Services</a>  and perform a title search for the words<b>HTTP</b>  and
>> <b>401</b>.</li>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "<li>Open
>> <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  " and search
>> for topics titled<b>Authentication</b>,<b>Access Control</b>, and<b>About
>> Custom Error Messages</b>.</li>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "</ul>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  -<<
>> "</TD></TR></TABLE></BODY></HTML>[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG protocol.RequestAddCookies  -
>> CookieSpec selected: best-match
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG protocol.RequestAuthCache  -
>> Auth cache not set in the context
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Attempt 3 to execute request
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG conn.DefaultClientConnection  -
>> Sending request: GET /content/10003204/Default.aspx HTTP/1.1
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  ->>  "GET
>> /content/10003204/Default.aspx HTTP/1.1[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  ->>  "Host:
>> workspace-t.domain.com:443[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  ->>  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  ->>  "User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  ->>  "Authorization:
>> NTLM
>> TlRMTVNTUAADAAAAGAAYAEAAAADKAMoAWAAAAAoACgAiAQAAEgASACwBAAAQABAAPgEAAAAAAABOAQAANQIIILeZSZlCCT2IqNaJo3ENVKesFSuQ3J4TuDCW4LnnLfTKQ2RGSsNmIq0BAQAAAAAAACBuAGrARswBrBUrkNyeE7gAAAAAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAABDAEgAMAAwADEAYwBoAGEAegB6ADEANQA0AHgAQwBIAEEASwAxADAANgBDAA==[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  ->>  "[\r][\n]"
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  ->>  GET
>> /content/10003204/Default.aspx HTTP/1.1
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  ->>  Host:
>> workspace-t.domain.com:443
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  ->>  Connection:
>> Keep-Alive
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  ->>  User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  ->>
>> Authorization: NTLM
>> TlRMTVNTUAADAAAAGAAYAEAAAADKAMoAWAAAAAoACgAiAQAAEgASACwBAAAQABAAPgEAAAAAAABOAQAANQIIILeZSZlCCT2IqNaJo3ENVKesFSuQ3J4TuDCW4LnnLfTKQ2RGSsNmIq0BAQAAAAAAACBuAGrARswBrBUrkNyeE7gAAAAAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAABDAEgAMAAwADEAYwBoAGEAegB6ADEANQA0AHgAQwBIAEEASwAxADAANgBDAA==
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "HTTP/1.1 401
>> Unauthorized[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<
>> "Content-Length: 1539[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "Date: Wed, 20
>> Jul 2011 09:35:50 GMT[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "Content-Type:
>> text/html[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "Server:
>> Microsoft-IIS/6.0[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: Negotiate[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: NTLM[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<
>> "WWW-Authenticate: Basic realm="workspace-t.domain.com"[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<
>> "MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "X-Powered-By:
>> ASP.NET[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG conn.DefaultClientConnection  -
>> Receiving response: HTTP/1.1 401 Unauthorized
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<  HTTP/1.1 401
>> Unauthorized
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<  Connection:
>> Keep-Alive
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> Content-Length: 1539
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<  Date: Wed,
>> 20 Jul 2011 09:35:50 GMT
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> Content-Type: text/html
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<  Server:
>> Microsoft-IIS/6.0
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: Negotiate
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: NTLM
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> WWW-Authenticate: Basic realm="workspace-t.domain.com"
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> MicrosoftSharePointTeamServices: 12.0.0.6548
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  -<<
>> X-Powered-By: ASP.NET
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Connection can be kept alive indefinitely
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Target requested authentication
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authorization challenge processed
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authentication scope: NTLM<any realm>@workspace-t.domain.com:443
>> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
>> Authentication failed
>>
>>
>>
>> =====Working log =====
>> 2011-07-20 12:02:07,905 [http-8080-6] DEBUG conn.SingleClientConnManager  -
>> Get connection for route HttpRoute[{s}->https://collaboration.domain.ch:443]
>> 2011-07-20 12:02:07,905 [http-8080-6] DEBUG
>> conn.DefaultClientConnectionOperator  - Connecting to
>> collaboration.domain.ch/139.16.10.184:443
>> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG protocol.RequestAddCookies  -
>> CookieSpec selected: best-match
>> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG protocol.RequestAuthCache  -
>> Auth cache not set in the context
>> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Attempt 1 to execute request
>> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG conn.DefaultClientConnection  -
>> Sending request: GET /content/10000282/Default.aspx HTTP/1.1
>> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG http.wire  ->>  "GET
>> /content/10000282/Default.aspx HTTP/1.1[\r][\n]"
>> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG http.wire  ->>  "Host:
>> collaboration.domain.ch:443[\r][\n]"
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  ->>  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  ->>  "User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  ->>  "[\r][\n]"
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  ->>  GET
>> /content/10000282/Default.aspx HTTP/1.1
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  ->>  Host:
>> collaboration.domain.ch:443
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  ->>  Connection:
>> Keep-Alive
>> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  ->>  User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "HTTP/1.1 401
>> Unauthorized[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "Cache-Control:
>> private[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "Content-Length:
>> 16[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "Content-Type:
>> text/html; charset=utf-8[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "Server:
>> Microsoft-IIS/7.0[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<
>> "X-AspNet-Version: 2.0.50727[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<
>> "WWW-Authenticate: Negotiate[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<
>> "WWW-Authenticate: NTLM[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "X-Powered-By:
>> ASP.NET[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<
>> "MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "Date: Wed, 20
>> Jul 2011 10:02:10 GMT[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG conn.DefaultClientConnection  -
>> Receiving response: HTTP/1.1 401 Unauthorized
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<  HTTP/1.1 401
>> Unauthorized
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<
>> Cache-Control: private
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<
>> Content-Length: 16
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<  Content-Type:
>> text/html; charset=utf-8
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<  Server:
>> Microsoft-IIS/7.0
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<
>> X-AspNet-Version: 2.0.50727
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<
>> WWW-Authenticate: Negotiate
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<
>> WWW-Authenticate: NTLM
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<  X-Powered-By:
>> ASP.NET
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<
>> MicrosoftSharePointTeamServices: 12.0.0.6341
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  -<<  Date: Wed, 20
>> Jul 2011 10:02:10 GMT
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Connection can be kept alive indefinitely
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Target requested authentication
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG
>> client.DefaultTargetAuthenticationHandler  - Authentication schemes in the
>> order of preference: [NTLM]
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG
>> client.DefaultTargetAuthenticationHandler  - NTLM authentication scheme
>> selected
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Authorization challenge processed
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Authentication scope: NTLM<any realm>@collaboration.domain.ch:443
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Found credentials
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  -<<  "401
>> UNAUTHORIZED"
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG protocol.RequestAddCookies  -
>> CookieSpec selected: best-match
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG protocol.RequestAuthCache  -
>> Auth cache not set in the context
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Attempt 2 to execute request
>> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG conn.DefaultClientConnection  -
>> Sending request: GET /content/10000282/Default.aspx HTTP/1.1
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  ->>  "GET
>> /content/10000282/Default.aspx HTTP/1.1[\r][\n]"
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  ->>  "Host:
>> collaboration.domain.ch:443[\r][\n]"
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  ->>  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  ->>  "User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  ->>  "Authorization:
>> NTLM
>> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==[\r][\n]"
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  ->>  "[\r][\n]"
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  ->>  GET
>> /content/10000282/Default.aspx HTTP/1.1
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  ->>  Host:
>> collaboration.domain.ch:443
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  ->>  Connection:
>> Keep-Alive
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  ->>  User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  ->>
>> Authorization: NTLM
>> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<  "HTTP/1.1 401
>> Unauthorized[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<  "Server:
>> Microsoft-IIS/7.0[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<
>> "WWW-Authenticate: NTLM
>> TlRMTVNTUAACAAAACgAKADgAAAA1AokifGMt1n6CwGgAAAAAAAAAAKoAqgBCAAAABgByFwAAAA9DAEgAMAAwADEAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAAA=[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<
>> "WWW-Authenticate: Negotiate[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<  "X-Powered-By:
>> ASP.NET[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<
>> "MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<  "Date: Wed, 20
>> Jul 2011 10:02:10 GMT[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<  "Content-Length:
>> 0[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG conn.DefaultClientConnection  -
>> Receiving response: HTTP/1.1 401 Unauthorized
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<  HTTP/1.1 401
>> Unauthorized
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<  Server:
>> Microsoft-IIS/7.0
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<
>> WWW-Authenticate: NTLM
>> TlRMTVNTUAACAAAACgAKADgAAAA1AokifGMt1n6CwGgAAAAAAAAAAKoAqgBCAAAABgByFwAAAA9DAEgAMAAwADEAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAAA=
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<
>> WWW-Authenticate: Negotiate
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<  X-Powered-By:
>> ASP.NET
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<
>> MicrosoftSharePointTeamServices: 12.0.0.6341
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<  Date: Wed, 20
>> Jul 2011 10:02:10 GMT
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  -<<
>> Content-Length: 0
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Connection can be kept alive indefinitely
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Target requested authentication
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Authorization challenge processed
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Authentication scope: NTLM<any realm>@collaboration.domain.ch:443
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG protocol.RequestAddCookies  -
>> CookieSpec selected: best-match
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG protocol.RequestAuthCache  -
>> Auth cache not set in the context
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
>> Attempt 3 to execute request
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG conn.DefaultClientConnection  -
>> Sending request: GET /content/10000282/Default.aspx HTTP/1.1
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  ->>  "GET
>> /content/10000282/Default.aspx HTTP/1.1[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  ->>  "Host:
>> collaboration.domain.ch:443[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  ->>  "Connection:
>> Keep-Alive[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  ->>  "User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  ->>  "Authorization:
>> NTLM
>> TlRMTVNTUAADAAAAGAAYAEAAAADWANYAWAAAAAoACgAuAQAAEAAQADgBAAAQABAASAEAAAAAAABYAQAANQIIICS9lukRgDsGsDIakgIUoTKj+1/jO8qQvgFvnuF6f0osvHpb/I8h6kUBAQAAAAAAALAz1hfERswBo/tf4zvKkL4AAAAAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAABDAEgAMAAwADEAYwBoAGEAaAB1AGcAcwAwAEMASABBAEsAMQAwADYAQwA=[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  ->>  "[\r][\n]"
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  ->>  GET
>> /content/10000282/Default.aspx HTTP/1.1
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  ->>  Host:
>> collaboration.domain.ch:443
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  ->>  Connection:
>> Keep-Alive
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  ->>  User-Agent:
>> Apache-HttpClient/4.1.1 (java 1.5)
>> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  ->>
>> Authorization: NTLM
>> TlRMTVNTUAADAAAAGAAYAEAAAADWANYAWAAAAAoACgAuAQAAEAAQADgBAAAQABAASAEAAAAAAABYAQAANQIIICS9lukRgDsGsDIakgIUoTKj+1/jO8qQvgFvnuF6f0osvHpb/I8h6kUBAQAAAAAAALAz1hfERswBo/tf4zvKkL4AAAAAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAABDAEgAMAAwADEAYwBoAGEAaAB1AGcAcwAwAEMASABBAEsAMQAwADYAQwA=
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "HTTP/1.1 200
>> OK[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Cache-Control:
>> private, max-age=0[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Content-Length:
>> 101906[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Content-Type:
>> text/html; charset=utf-8[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Expires: Tue,
>> 05 Jul 2011 10:02:10 GMT[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Last-Modified:
>> Wed, 20 Jul 2011 10:02:10 GMT[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Server:
>> Microsoft-IIS/7.0[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<
>> "X-AspNet-Version: 2.0.50727[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Set-Cookie:
>> WSS_KeepSessionAuthenticated=443; path=/[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Set-Cookie:
>> https%3A%2F%2Fcollaboration%2Edomain%2Ech%2Fcontent%2F10000282%2FDiscovery=WorkspaceSiteName=RE5TIFAtU3lzdGVtIENI&WorkspaceSiteUrl=aHR0cHM6Ly9jb2xsYWJvcmF0aW9uLnNpZW1lbnMuY2gvY29udGVudC8xMDAwMDI4Mg==&WorkspaceSiteTime=MjAxMS0wNy0yMFQxMDowMjoxMA==;
>> expires=Fri, 19-Aug-2011 10:02:10 GMT;
>> path=/_vti_bin/Discovery.asmx[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "X-Powered-By:
>> ASP.NET[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<
>> "MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "Date: Wed, 20
>> Jul 2011 10:02:10 GMT[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  -<<  "[\r][\n]"
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG conn.DefaultClientConnection  -
>> Receiving response: HTTP/1.1 200 OK
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  HTTP/1.1 200
>> OK
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<
>> Cache-Control: private, max-age=0
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<
>> Content-Length: 101906
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  Content-Type:
>> text/html; charset=utf-8
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  Expires: Tue,
>> 05 Jul 2011 10:02:10 GMT
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<
>> Last-Modified: Wed, 20 Jul 2011 10:02:10 GMT
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  Server:
>> Microsoft-IIS/7.0
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<
>> X-AspNet-Version: 2.0.50727
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  Set-Cookie:
>> WSS_KeepSessionAuthenticated=443; path=/
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  Set-Cookie:
>> https%3A%2F%2Fcollaboration%2Edomain%2Ech%2Fcontent%2F10000282%2FDiscovery=WorkspaceSiteName=RE5TIFAtU3lzdGVtIENI&WorkspaceSiteUrl=aHR0cHM6Ly9jb2xsYWJvcmF0aW9uLnNpZW1lbnMuY2gvY29udGVudC8xMDAwMDI4Mg==&WorkspaceSiteTime=MjAxMS0wNy0yMFQxMDowMjoxMA==;
>> expires=Fri, 19-Aug-2011 10:02:10 GMT; path=/_vti_bin/Discovery.asmx
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  X-Powered-By:
>> ASP.NET
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<
>> MicrosoftSharePointTeamServices: 12.0.0.6341
>> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  -<<  Date: Wed, 20
>> Jul 2011 10:02:10 GMT
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: NTLMv2 against sharepoint

Posted by Sam Crawford <sa...@gmail.com>.
The "not working" server appears to be on IIS 6 and it looks like it
has the Basic Authentication option checked in the Virtual Server /
Directory window. Perhaps try unchecking that to make it more
consistent with the IIS 7 server?

That said, it looks to me like HttpClient is handling it correctly
anyway (it's responding with NTLM auth).

Perhaps it'd be wise to compare the settings screens of the two
servers side-by-side to check for any obvious differences. Also, what
does the Windows Event/Security log show on the "not working" server?

Thanks,

Sam



On 20 July 2011 13:02, Stefan Huggenberger <hu...@huggi.ch> wrote:
> hello httpclient users
> I have a problem with the NTLM login against a sharepoint server. We have
> different servers. On one server, the login works fine, on the others it
> didn't work.
>
> I append the relevant part of the source code, the "not working log" and the
> "working log" as well.
>
> In the http Header is also written: WWW-Authenticate: Basic
> realm="workspace-t.domain.com"
> This is the only different I could recognized.
>
> I am very grateful for any information.
> Stefan
>
>
>
> =====Source Code=====
> DefaultHttpClient httpclient = new DefaultHttpClient();
> List<String> authpref = new ArrayList<String>()
> authpref.add(AuthPolicy.NTLM)
> httpclient.getParams().setParameter(AuthPNames.TARGET_AUTH_PREF, authpref)
> NTCredentials creds = new NTCredentials(user, password, localhost, domain);
> httpclient.getCredentialsProvider().setCredentials(AuthScope.ANY, creds);
> HttpHost target = new HttpHost(base, port, protocol);
> HttpGet httpget = new HttpGet(uri);
> BasicHttpContext localContext = new BasicHttpContext();
> HttpResponse response1 = httpclient.execute(target, httpget, localContext);
>
>
> =====Not working log =====
> 2011-07-20 11:35:50,611 [http-8080-12] DEBUG conn.SingleClientConnManager  -
> Get connection for route HttpRoute[{s}->https://workspace-t.domain.com:443]
> 2011-07-20 11:35:50,611 [http-8080-12] DEBUG
> conn.DefaultClientConnectionOperator  - Connecting to
> workspace-t.domain.com/141.73.44.16:443
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG protocol.RequestAddCookies  -
> CookieSpec selected: best-match
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG protocol.RequestAuthCache  -
> Auth cache not set in the context
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Attempt 1 to execute request
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG conn.DefaultClientConnection  -
> Sending request: GET /content/10003204/Default.aspx HTTP/1.1
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "GET
> /content/10003204/Default.aspx HTTP/1.1[\r][\n]"
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "Host:
> workspace-t.domain.com:443[\r][\n]"
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.wire  - >> "[\r][\n]"
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> GET
> /content/10003204/Default.aspx HTTP/1.1
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> Host:
> workspace-t.domain.com:443
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> Connection:
> Keep-Alive
> 2011-07-20 11:35:50,830 [http-8080-12] DEBUG http.headers  - >> User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "HTTP/1.1 401
> Unauthorized[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - <<
> "Content-Length: 16[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Date: Wed, 20
> Jul 2011 09:35:50 GMT[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Content-Type:
> text/html; charset=utf-8[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Server:
> Microsoft-IIS/6.0[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: Negotiate[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: NTLM[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: Basic realm="workspace-t.domain.com"[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - <<
> "MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "X-Powered-By:
> ASP.NET[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - <<
> "X-AspNet-Version: 2.0.50727[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "Cache-Control:
> private[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG conn.DefaultClientConnection  -
> Receiving response: HTTP/1.1 401 Unauthorized
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << HTTP/1.1 401
> Unauthorized
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << Connection:
> Keep-Alive
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> Content-Length: 16
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << Date: Wed,
> 20 Jul 2011 09:35:50 GMT
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> Content-Type: text/html; charset=utf-8
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - << Server:
> Microsoft-IIS/6.0
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: Negotiate
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: NTLM
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: Basic realm="workspace-t.domain.com"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> MicrosoftSharePointTeamServices: 12.0.0.6548
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> X-Powered-By: ASP.NET
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> X-AspNet-Version: 2.0.50727
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - <<
> Cache-Control: private
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Connection can be kept alive indefinitely
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Target requested authentication
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG
> client.DefaultTargetAuthenticationHandler  - Authentication schemes in the
> order of preference: [NTLM]
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG
> client.DefaultTargetAuthenticationHandler  - NTLM authentication scheme
> selected
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authorization challenge processed
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authentication scope: NTLM <any realm>@workspace-t.domain.com:443
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Found credentials
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - << "401
> UNAUTHORIZED"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG protocol.RequestAddCookies  -
> CookieSpec selected: best-match
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG protocol.RequestAuthCache  -
> Auth cache not set in the context
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Attempt 2 to execute request
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG conn.DefaultClientConnection  -
> Sending request: GET /content/10003204/Default.aspx HTTP/1.1
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "GET
> /content/10003204/Default.aspx HTTP/1.1[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "Host:
> workspace-t.domain.com:443[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "Authorization:
> NTLM
> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.wire  - >> "[\r][\n]"
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> GET
> /content/10003204/Default.aspx HTTP/1.1
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> Host:
> workspace-t.domain.com:443
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> Connection:
> Keep-Alive
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >> User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)
> 2011-07-20 11:35:51,033 [http-8080-12] DEBUG http.headers  - >>
> Authorization: NTLM
> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "HTTP/1.1 401
> Unauthorized[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "Content-Length: 1539[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "Date: Wed, 20
> Jul 2011 09:35:50 GMT[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "Content-Type:
> text/html[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "Server:
> Microsoft-IIS/6.0[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: NTLM
> TlRMTVNTUAACAAAACgAKADgAAAA1AokiqTgXEM4g4TUAAAAAAAAAAJ4AngBCAAAABQLODgAAAA9XAFcAMAAwADQAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAAA=[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "X-Powered-By:
> ASP.NET[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG conn.DefaultClientConnection  -
> Receiving response: HTTP/1.1 401 Unauthorized
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << HTTP/1.1 401
> Unauthorized
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << Connection:
> Keep-Alive
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - <<
> Content-Length: 1539
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << Date: Wed,
> 20 Jul 2011 09:35:50 GMT
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - <<
> Content-Type: text/html
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - << Server:
> Microsoft-IIS/6.0
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: NTLM
> TlRMTVNTUAACAAAACgAKADgAAAA1AokiqTgXEM4g4TUAAAAAAAAAAJ4AngBCAAAABQLODgAAAA9XAFcAMAAwADQAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAAA=
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - <<
> MicrosoftSharePointTeamServices: 12.0.0.6548
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - <<
> X-Powered-By: ASP.NET
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Connection can be kept alive indefinitely
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Target requested authentication
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authorization challenge processed
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authentication scope: NTLM <any realm>@workspace-t.domain.com:443
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<!DOCTYPE HTML
> PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "<HTML><HEAD><TITLE>You are not authorized to view this
> page</TITLE>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<META
> HTTP-EQUIV="Content-Type" Content="text/html;
> charset=Windows-1252">[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<STYLE
> type="text/css">[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  BODY { font:
> 8pt/12pt verdana }[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  H1 { font:
> 13pt/15pt verdana }[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  H2 { font:
> 8pt/12pt verdana }[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  A:link {
> color: red }[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "  A:visited {
> color: maroon }[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "</STYLE>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<h1>You are
> not authorized to view this page</h1>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "You do not
> have permission to view this directory or page using the credentials that
> you supplied.[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<hr>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<p>Please try
> the following:</p>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<ul>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Contact
> the Web site administrator if you believe you should be able to view this
> directory or page.</li>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Click the
> <a href="javascript:location.reload()">Refresh</a> button to try again w"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "ith different
> credentials.</li>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "</ul>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<h2>HTTP Error
> 401.1 - Unauthorized: Access is denied due to invalid
> credentials.<br>Internet Information Services (IIS)</h2>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<hr>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<p>Technical
> Information (for support personnel)</p>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<ul>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Go to <a
> href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support
> Services</a> and perform a title search for the words <b>HTTP</b> and
> <b>401</b>.</li>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "<li>Open
> <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << " and search
> for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About
> Custom Error Messages</b>.</li>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "</ul>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - <<
> "</TD></TR></TABLE></BODY></HTML>[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG protocol.RequestAddCookies  -
> CookieSpec selected: best-match
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG protocol.RequestAuthCache  -
> Auth cache not set in the context
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Attempt 3 to execute request
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG conn.DefaultClientConnection  -
> Sending request: GET /content/10003204/Default.aspx HTTP/1.1
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "GET
> /content/10003204/Default.aspx HTTP/1.1[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "Host:
> workspace-t.domain.com:443[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "Authorization:
> NTLM
> TlRMTVNTUAADAAAAGAAYAEAAAADKAMoAWAAAAAoACgAiAQAAEgASACwBAAAQABAAPgEAAAAAAABOAQAANQIIILeZSZlCCT2IqNaJo3ENVKesFSuQ3J4TuDCW4LnnLfTKQ2RGSsNmIq0BAQAAAAAAACBuAGrARswBrBUrkNyeE7gAAAAAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAABDAEgAMAAwADEAYwBoAGEAegB6ADEANQA0AHgAQwBIAEEASwAxADAANgBDAA==[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.wire  - >> "[\r][\n]"
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> GET
> /content/10003204/Default.aspx HTTP/1.1
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> Host:
> workspace-t.domain.com:443
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> Connection:
> Keep-Alive
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >> User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)
> 2011-07-20 11:35:51,298 [http-8080-12] DEBUG http.headers  - >>
> Authorization: NTLM
> TlRMTVNTUAADAAAAGAAYAEAAAADKAMoAWAAAAAoACgAiAQAAEgASACwBAAAQABAAPgEAAAAAAABOAQAANQIIILeZSZlCCT2IqNaJo3ENVKesFSuQ3J4TuDCW4LnnLfTKQ2RGSsNmIq0BAQAAAAAAACBuAGrARswBrBUrkNyeE7gAAAAAAgAKAFcAVwAwADAANAABABAASwBIAEUAUgAwADYAMgBBAAQAIgB3AHcAMAAwADQALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AGsAaABlAHIAMAA2ADIAYQAuAHcAdwAwADAANAAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAAAAABDAEgAMAAwADEAYwBoAGEAegB6ADEANQA0AHgAQwBIAEEASwAxADAANgBDAA==
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "HTTP/1.1 401
> Unauthorized[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - <<
> "Content-Length: 1539[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "Date: Wed, 20
> Jul 2011 09:35:50 GMT[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "Content-Type:
> text/html[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "Server:
> Microsoft-IIS/6.0[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: Negotiate[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: NTLM[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - <<
> "WWW-Authenticate: Basic realm="workspace-t.domain.com"[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - <<
> "MicrosoftSharePointTeamServices: 12.0.0.6548[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "X-Powered-By:
> ASP.NET[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG conn.DefaultClientConnection  -
> Receiving response: HTTP/1.1 401 Unauthorized
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << HTTP/1.1 401
> Unauthorized
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << Connection:
> Keep-Alive
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> Content-Length: 1539
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << Date: Wed,
> 20 Jul 2011 09:35:50 GMT
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> Content-Type: text/html
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - << Server:
> Microsoft-IIS/6.0
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: Negotiate
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: NTLM
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> WWW-Authenticate: Basic realm="workspace-t.domain.com"
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> MicrosoftSharePointTeamServices: 12.0.0.6548
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG http.headers  - <<
> X-Powered-By: ASP.NET
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Connection can be kept alive indefinitely
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Target requested authentication
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authorization challenge processed
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authentication scope: NTLM <any realm>@workspace-t.domain.com:443
> 2011-07-20 11:35:51,517 [http-8080-12] DEBUG client.DefaultHttpClient  -
> Authentication failed
>
>
>
> =====Working log =====
> 2011-07-20 12:02:07,905 [http-8080-6] DEBUG conn.SingleClientConnManager  -
> Get connection for route HttpRoute[{s}->https://collaboration.domain.ch:443]
> 2011-07-20 12:02:07,905 [http-8080-6] DEBUG
> conn.DefaultClientConnectionOperator  - Connecting to
> collaboration.domain.ch/139.16.10.184:443
> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG protocol.RequestAddCookies  -
> CookieSpec selected: best-match
> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG protocol.RequestAuthCache  -
> Auth cache not set in the context
> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Attempt 1 to execute request
> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG conn.DefaultClientConnection  -
> Sending request: GET /content/10000282/Default.aspx HTTP/1.1
> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG http.wire  - >> "GET
> /content/10000282/Default.aspx HTTP/1.1[\r][\n]"
> 2011-07-20 12:02:11,342 [http-8080-6] DEBUG http.wire  - >> "Host:
> collaboration.domain.ch:443[\r][\n]"
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  - >> "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  - >> "User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.wire  - >> "[\r][\n]"
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> GET
> /content/10000282/Default.aspx HTTP/1.1
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> Host:
> collaboration.domain.ch:443
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> Connection:
> Keep-Alive
> 2011-07-20 12:02:11,357 [http-8080-6] DEBUG http.headers  - >> User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "HTTP/1.1 401
> Unauthorized[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Cache-Control:
> private[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Content-Length:
> 16[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Content-Type:
> text/html; charset=utf-8[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Server:
> Microsoft-IIS/7.0[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - <<
> "X-AspNet-Version: 2.0.50727[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - <<
> "WWW-Authenticate: Negotiate[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - <<
> "WWW-Authenticate: NTLM[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "X-Powered-By:
> ASP.NET[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - <<
> "MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "Date: Wed, 20
> Jul 2011 10:02:10 GMT[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG conn.DefaultClientConnection  -
> Receiving response: HTTP/1.1 401 Unauthorized
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << HTTP/1.1 401
> Unauthorized
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - <<
> Cache-Control: private
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - <<
> Content-Length: 16
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << Content-Type:
> text/html; charset=utf-8
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << Server:
> Microsoft-IIS/7.0
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - <<
> X-AspNet-Version: 2.0.50727
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - <<
> WWW-Authenticate: Negotiate
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - <<
> WWW-Authenticate: NTLM
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << X-Powered-By:
> ASP.NET
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - <<
> MicrosoftSharePointTeamServices: 12.0.0.6341
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.headers  - << Date: Wed, 20
> Jul 2011 10:02:10 GMT
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Connection can be kept alive indefinitely
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Target requested authentication
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG
> client.DefaultTargetAuthenticationHandler  - Authentication schemes in the
> order of preference: [NTLM]
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG
> client.DefaultTargetAuthenticationHandler  - NTLM authentication scheme
> selected
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Authorization challenge processed
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Authentication scope: NTLM <any realm>@collaboration.domain.ch:443
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Found credentials
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG http.wire  - << "401
> UNAUTHORIZED"
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG protocol.RequestAddCookies  -
> CookieSpec selected: best-match
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG protocol.RequestAuthCache  -
> Auth cache not set in the context
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Attempt 2 to execute request
> 2011-07-20 12:02:11,388 [http-8080-6] DEBUG conn.DefaultClientConnection  -
> Sending request: GET /content/10000282/Default.aspx HTTP/1.1
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "GET
> /content/10000282/Default.aspx HTTP/1.1[\r][\n]"
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "Host:
> collaboration.domain.ch:443[\r][\n]"
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "Authorization:
> NTLM
> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==[\r][\n]"
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.wire  - >> "[\r][\n]"
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> GET
> /content/10000282/Default.aspx HTTP/1.1
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> Host:
> collaboration.domain.ch:443
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> Connection:
> Keep-Alive
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >> User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)
> 2011-07-20 12:02:11,404 [http-8080-6] DEBUG http.headers  - >>
> Authorization: NTLM
> TlRMTVNTUAABAAAANQIIIAoACgAwAAAAEAAQACAAAABDAEgAQQBLADEAMAA2AEMAQwBIADAAMAAxAA==
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "HTTP/1.1 401
> Unauthorized[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "Server:
> Microsoft-IIS/7.0[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - <<
> "WWW-Authenticate: NTLM
> TlRMTVNTUAACAAAACgAKADgAAAA1AokifGMt1n6CwGgAAAAAAAAAAKoAqgBCAAAABgByFwAAAA9DAEgAMAAwADEAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAAA=[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - <<
> "WWW-Authenticate: Negotiate[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "X-Powered-By:
> ASP.NET[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - <<
> "MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "Date: Wed, 20
> Jul 2011 10:02:10 GMT[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "Content-Length:
> 0[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG conn.DefaultClientConnection  -
> Receiving response: HTTP/1.1 401 Unauthorized
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << HTTP/1.1 401
> Unauthorized
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << Server:
> Microsoft-IIS/7.0
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - <<
> WWW-Authenticate: NTLM
> TlRMTVNTUAACAAAACgAKADgAAAA1AokifGMt1n6CwGgAAAAAAAAAAKoAqgBCAAAABgByFwAAAA9DAEgAMAAwADEAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAAA=
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - <<
> WWW-Authenticate: Negotiate
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << X-Powered-By:
> ASP.NET
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - <<
> MicrosoftSharePointTeamServices: 12.0.0.6341
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - << Date: Wed, 20
> Jul 2011 10:02:10 GMT
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - <<
> Content-Length: 0
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Connection can be kept alive indefinitely
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Target requested authentication
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Authorization challenge processed
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Authentication scope: NTLM <any realm>@collaboration.domain.ch:443
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG protocol.RequestAddCookies  -
> CookieSpec selected: best-match
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG protocol.RequestAuthCache  -
> Auth cache not set in the context
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG client.DefaultHttpClient  -
> Attempt 3 to execute request
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG conn.DefaultClientConnection  -
> Sending request: GET /content/10000282/Default.aspx HTTP/1.1
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "GET
> /content/10000282/Default.aspx HTTP/1.1[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "Host:
> collaboration.domain.ch:443[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "Connection:
> Keep-Alive[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "Authorization:
> NTLM
> TlRMTVNTUAADAAAAGAAYAEAAAADWANYAWAAAAAoACgAuAQAAEAAQADgBAAAQABAASAEAAAAAAABYAQAANQIIICS9lukRgDsGsDIakgIUoTKj+1/jO8qQvgFvnuF6f0osvHpb/I8h6kUBAQAAAAAAALAz1hfERswBo/tf4zvKkL4AAAAAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAABDAEgAMAAwADEAYwBoAGEAaAB1AGcAcwAwAEMASABBAEsAMQAwADYAQwA=[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.wire  - >> "[\r][\n]"
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> GET
> /content/10000282/Default.aspx HTTP/1.1
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> Host:
> collaboration.domain.ch:443
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> Connection:
> Keep-Alive
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >> User-Agent:
> Apache-HttpClient/4.1.1 (java 1.5)
> 2011-07-20 12:02:11,435 [http-8080-6] DEBUG http.headers  - >>
> Authorization: NTLM
> TlRMTVNTUAADAAAAGAAYAEAAAADWANYAWAAAAAoACgAuAQAAEAAQADgBAAAQABAASAEAAAAAAABYAQAANQIIICS9lukRgDsGsDIakgIUoTKj+1/jO8qQvgFvnuF6f0osvHpb/I8h6kUBAQAAAAAAALAz1hfERswBo/tf4zvKkL4AAAAAAgAKAEMASAAwADAAMQABABAAWgBSAEgAQQBKADAAOABBAAQAIgBjAGgAMAAwADEALgBzAGkAZQBtAGUAbgBzAC4AbgBlAHQAAwA0AHoAcgBoAGEAagAwADgAYQAuAGMAaAAwADAAMQAuAHMAaQBlAG0AZQBuAHMALgBuAGUAdAAFABYAcwBpAGUAbQBlAG4AcwAuAG4AZQB0AAcACADIwWEXxEbMAQAAAABDAEgAMAAwADEAYwBoAGEAaAB1AGcAcwAwAEMASABBAEsAMQAwADYAQwA=
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "HTTP/1.1 200
> OK[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Cache-Control:
> private, max-age=0[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Content-Length:
> 101906[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Content-Type:
> text/html; charset=utf-8[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Expires: Tue,
> 05 Jul 2011 10:02:10 GMT[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Last-Modified:
> Wed, 20 Jul 2011 10:02:10 GMT[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Server:
> Microsoft-IIS/7.0[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - <<
> "X-AspNet-Version: 2.0.50727[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Set-Cookie:
> WSS_KeepSessionAuthenticated=443; path=/[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Set-Cookie:
> https%3A%2F%2Fcollaboration%2Edomain%2Ech%2Fcontent%2F10000282%2FDiscovery=WorkspaceSiteName=RE5TIFAtU3lzdGVtIENI&WorkspaceSiteUrl=aHR0cHM6Ly9jb2xsYWJvcmF0aW9uLnNpZW1lbnMuY2gvY29udGVudC8xMDAwMDI4Mg==&WorkspaceSiteTime=MjAxMS0wNy0yMFQxMDowMjoxMA==;
> expires=Fri, 19-Aug-2011 10:02:10 GMT;
> path=/_vti_bin/Discovery.asmx[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "X-Powered-By:
> ASP.NET[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - <<
> "MicrosoftSharePointTeamServices: 12.0.0.6341[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "Date: Wed, 20
> Jul 2011 10:02:10 GMT[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.wire  - << "[\r][\n]"
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG conn.DefaultClientConnection  -
> Receiving response: HTTP/1.1 200 OK
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << HTTP/1.1 200
> OK
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - <<
> Cache-Control: private, max-age=0
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - <<
> Content-Length: 101906
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Content-Type:
> text/html; charset=utf-8
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Expires: Tue,
> 05 Jul 2011 10:02:10 GMT
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - <<
> Last-Modified: Wed, 20 Jul 2011 10:02:10 GMT
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Server:
> Microsoft-IIS/7.0
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - <<
> X-AspNet-Version: 2.0.50727
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Set-Cookie:
> WSS_KeepSessionAuthenticated=443; path=/
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Set-Cookie:
> https%3A%2F%2Fcollaboration%2Edomain%2Ech%2Fcontent%2F10000282%2FDiscovery=WorkspaceSiteName=RE5TIFAtU3lzdGVtIENI&WorkspaceSiteUrl=aHR0cHM6Ly9jb2xsYWJvcmF0aW9uLnNpZW1lbnMuY2gvY29udGVudC8xMDAwMDI4Mg==&WorkspaceSiteTime=MjAxMS0wNy0yMFQxMDowMjoxMA==;
> expires=Fri, 19-Aug-2011 10:02:10 GMT; path=/_vti_bin/Discovery.asmx
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << X-Powered-By:
> ASP.NET
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - <<
> MicrosoftSharePointTeamServices: 12.0.0.6341
> 2011-07-20 12:02:11,638 [http-8080-6] DEBUG http.headers  - << Date: Wed, 20
> Jul 2011 10:02:10 GMT
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org