tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Kanderi <rkand...@yahoo.com>
Subject Form-based authentication
Date Wed, 09 Oct 2002 21:44:41 GMT
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>


Mime
View raw message