URLConnection and Password and Username

2001-12-11 Thread Peter Palombi
hi all, i have one troble with the read of a html page. The page is protected by username and password. I must first go in one html page where i must insert username and password and than i can go to the html page (second page) that i have to read. When i go directly to the second page , i rec

Re: URLConnection and Password and Username

2001-12-11 Thread Ronald Wildenberg
Hi Peter, You are taking the wrong approach here I think. You should not code these kind of security issues directly into your JSP or servlets, but instead use the Tomcat security features. If you use Tomcat, of course :-) There are some very good article on O'Reilly about protecting parts of yo

Re: URLConnection and Password and Username

2001-12-11 Thread Dmitry Namiot
>I would made this .. go to the first page and i give to >the page the username and password (POST) and than >(without lost the session) go to the second page... do not use POST here. You have to pass username/password as a header to URLConnection -- Coldbeans Software - server-side Java (tm) co

Re: URLConnection and Password and Username

2001-12-12 Thread Swart, James (Jim) ** CTR **
Title: RE: URLConnection and Password and Username You know.. I went ahead and followed this.. and there is a major typo on the first tutorial on the second page when creating the mysql database for tomcatusers.  Look for it if you do it this way: 5. Create the user_roles table using the