HttpClient instead of browser

taocore taocore at laszlomail.com
Mon Jul 10 21:06:01 EDT 2006


Viewing the source of the login page, I found there were still three 
parameters besides username and password:

lt, it seems the ticket, it's value is a long code

_currentStateId, it's value is "viewLoginForm"

_eventId, it's value is "submit"

I had succefully login with HttpClient by parsing the login page source 
for the ticket and other parameters, but it is not a good idea.

I am looking for methods to do that gracefully. for instance, with some 
simple API.

taocore



More information about the cas mailing list