RE: adding authentication to unprotected page

2007-06-01 Thread Propes, Barry L
yes, you can do what I suggested...I tried it out and it worked just fine. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 6:10 PM To: users@tomcat.apache.org Subject: adding authentication to unprotected page Hi All, I was wondering if any of you ha

RE: adding authentication to unprotected page

2007-06-01 Thread Propes, Barry L
not sure which version you're using, but it seems like you could add the page (package/protected/index.html) to the attribute, and then in the security constraint, make it protected. Would that not work? -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Thursday, Ma

Re: adding authentication to unprotected page

2007-06-01 Thread Johnny Kewl
You need to read up on Tomcats form based authentication I think thats what you asking. Form actually looks like this User name: Password: but you have to tell tomcat to use it... ie set up all sorts of stuff in the Web.xml Its called Declarative security. So if some1 trie

Re: adding authentication to unprotected page

2007-06-01 Thread Pid
Ryan wrote: Hi All, I was wondering if any of you had experience with this. I want to add a form on the homepage of an application that allows the user to quickly log in (see below) and take them to the protected page. I've never done this before and unfortunately the form below doesn't seem