hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Use HttpClinet to login a https site.
Date Mon, 06 Sep 2004 22:06:42 GMT
Ian,
I'd need to see the complete HTTP frame to be able to tell for sure.
Please consult the HttpClient logging guide for instructions how to
activate the debug/wire logging and post the resultant log to this
mailing list

http://jakarta.apache.org/commons/httpclient/logging.html

You mat want to obfuscate security sensitive data in the log such as
logon credentials

Oleg

On Mon, 2004-09-06 at 22:29, Ian Zhang wrote:
> Hi,
> 
> Everyone.  I am not sure if this mailing list is the
> place asking for help.  If it is not, sorry.
> 
> ===
> 
> I use HttpClient 2.01 to login a site using form (post
> method) login.   I got the following response message.
>   It looks like it continue to processing.  The
> Netscape or IE will automatically be forwarded (or
> redirect).  How do I handle using HttpClient?
> 
> It is a https site.  I have the user id and password
> to use a form login.
> 
> The status is 200.  Is the a forwarding, redirect or
> proxy problem?
> 
> Thanks for the help.
> -Ian
> 
> statuscode:200 HTTP/1.1 200
> 
> <HTML><HEAD><TITLE></TITLE></HEAD><BODY
> onLoad="document.AUTOSUBMIT.submit();">This page is
> used to hold your data while you are being authorized
> for your request.<BR><BR>You will be forwarded to
> continue the authorization process. If this does not
> happen automatically, please click the Continue button
> below.<FORM NAME="AUTOSUBMIT" METHOD="POST"
> ACTION="http://login.xyz.com/index.html?TYPE=100663297&REALMOID=06-000579b4-b1f3-1eb9-82ee-800906e3fd70&GUID=&SMAUTHREASON=0&METHOD=POST&SMAGENTNAME=$SM$bOzL%2bZOmlvhRHjLIWXIVOdHzNtsPM5ZpPQVpUIuyFp2R8Pgvr8vzWw%3d%3d&TARGET=$SM$https%3a%2f%2ffdtvs%2enextel%2ecom%2fservlet%2fServletNavigator"><INPUT
> TYPE="HIDDEN" NAME="SMPostPreserve"
> VALUE="ajdiRWkrNkhUUllCU2hveWNMZmZxTVNNTE1RRjhrYU5pOVNpcFlOWUd4UzlqRUYwd0x2R2t1eGJHRGpVeWthT3I1RUhtdm1ZMU8vNXJqVzdBNkkwQXZaWEJERGh5TEtWd3BHY3VJK2lYWFNYQlBid0ZSOGFBcFIxd3BPYllTd0xaZUR5VFFjZExiRHhDZGR4S2FOaGJjUmFQRGRFZEZzVnZFVDVGS1JYdWdnaC9TUXZOZDFDZjkzUThOSVV1Y1NTNHhORXZvYTdaKzFQUEJaQzdPejhadz09"><INPUT
> TYPE="SUBMIT" VALUE="Continue"></FORM></BODY></HTML>
> 
> =====
> Ian Zhang
> hhzhang@yahoo.com
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Y! Messenger - Communicate in real time. Download now. 
> http://messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message