A Question about Realm

2003-05-30 Thread martin
Dear all. I am from taiwan,I have some questions in using tomcat. I have configured a realm to protect a web application and set it's web.xml like below. I using a Form(auth.jsp) to authenticate users.I have two questions. 1. What the contents of auth.jsp should be ? What 's the values of

Re: A Question about Realm

2003-05-30 Thread Bill Barker
1) Assuming that auth.jsp is configured as your login-page: form name=authForm method=post action=j_security_check input type=text value=j_username / input type=password value=j_password / /form 2) You can't (portably) get the password. If you have a way to look it up from the userName,