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: HttpClient and Form Authentication
Date Tue, 17 Oct 2006 12:50:34 GMT
Hello Franck,

Franck Borel <borel@ub.uni-freiburg.de> wrote on 17.10.2006 10:37:02:

> I would like to use the HttpClient API to fill in automaticaly an 
> authentication request of my Tomcat form authentication.
> In a first step I send a GET request to get the JSESSIONID. A second 
> step I send username, password and the cookie  calling the j_security to 

> passing through the authentication.
> 
> But I get only the login-error.jsp message back. I think this have to do 

> with my cookie. Can anybody help me?

Have you studied the Client HTTP Programming Primer?
http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners

cheers,
  Roland


Mime
View raw message