tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Padhu Vinirs <p.pa...@verizon.net>
Subject Re: Form-based authentication
Date Wed, 09 Oct 2002 22:07:00 GMT
Shouldnt the url format be http://url?user=xxx&password=xxx ? Also, if 
you do this, you could encrypt the password it before calling 
sendRedirect and decrypt it at the url cgi.

-- padhu


Rajesh Kanderi wrote:

>how do you access a webpage which has a form-based
>authentication setup using java.
>
>i am able to do it using an href
>http://<user>:<password>@url...
>but the problem is it shows the passowrd. 
>
>I tried to construct the above url in a servlet and
>then doing a sendRedirect. but the sendRedirect
>doesn't seem to like the format of the
>url,specifically having the user:password.
>
>Is there a way to do it using java classes
>URLconnection or HttpURLConnection
>
>
>
>__________________________________________________
>Do you Yahoo!?
>Faith Hill - Exclusive Performances, Videos & More
>http://faith.yahoo.com
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message