hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject RE: windows authentication problem
Date Fri, 04 May 2007 06:52:40 GMT
Hello Naresh,

I don't have code snippets. Sorry if I got you wrong regarding
authentication. So you authenticate with NTLM against the
server, and you successfully get back a redirect? Make sure
to use the same HttpState when following that redirect with
HttpClient, then the request to the index page should be
just as authentic as then one that brought you the redirect.

NTLM is a connection-based authentication scheme, not
a session-based one. Each request must be authenticated,
you can not just authenticate once and then send further
requests without authentication.

hope that helps,
  Roland
 



Mime
View raw message