On 20/05/2008 15:31, Carol Cheung wrote the following:
Hi,
Here's a part of my web.xml:
security-role
descriptionuser/description
role-nameuser/role-name
/security-role
!-- Login Authentication --
security-constraint
display-nameSecure User Pages/display-name
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carol,
Carol Cheung wrote:
| Thanks Christopher Schultz for pointing out my error: the url pattern
| should be /jsp/welcome.jsp.
|
| Now, I'm able to see login.jsp when requesting welcome.jsp.
| If I enter an incorrect login/password combination, I
On 23/05/2008 15:53, Christopher Schultz wrote the following:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carol,
Carol Cheung wrote:
| Thanks Christopher Schultz for pointing out my error: the url pattern
| should be /jsp/welcome.jsp.
|
| Now, I'm able to see login.jsp when requesting
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carol,
Carol Cheung wrote:
| http://hostname:port/appname/jsp/welcome.jsp
|
| I've secured welcome.jsp with url-pattern/jsp/welcome.jsp/url-pattern
So, you request /jsp/welcome.jsp and are redirected to /jsp/login.jsp,
then you enter a valid
Hi,
I am very new to the aforementioned subject. As hinted in subject, I am
trying to set up a web application using form authentication.
I have set up server.xml according to the steps specified at
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
for JDBCRealm
For the application, I
Carol Cheung wrote:
Hi,
I am very new to the aforementioned subject. As hinted in subject, I am
trying to set up a web application using form authentication.
I have set up server.xml according to the steps specified at
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
for JDBCRealm