| From | Sent On | Attachments |
|---|---|---|
| Padhu Vinirs | Oct 2, 2002 7:19 am | |
| Rick Fincher | Oct 2, 2002 7:39 am | |
| Craig R. McClanahan | Oct 2, 2002 9:07 am | |
| Mubaraka Arif | Oct 2, 2002 9:51 am | |
| Padhu Vinirs | Oct 2, 2002 10:58 am | |
| Padhu Vinirs | Oct 2, 2002 11:07 am | |
| Padhu Vinirs | Oct 2, 2002 11:18 am | |
| Rick Fincher | Oct 2, 2002 11:58 am | |
| Rick Fincher | Oct 2, 2002 12:02 pm | |
| Rick Fincher | Oct 2, 2002 12:10 pm |
| Subject: | Re: authorization using tomcat... | |
|---|---|---|
| From: | Rick Fincher (rn...@tbird.com) | |
| Date: | Oct 2, 2002 11:58:05 am | |
| List: | org.apache.tomcat.users | |
Sounds like you are close now. It is working but it is rejecting your username, password or role.
The name and role in WEB-INF/web.xml have to match the name and role in conf/tomcat-users.xml. The password is verified at login and must match the password in conf/tomcat-users.xml.
You can add a debug statement to the realm configuration in conf/server.xml to give you some debug output on this to help narrow down the problem, but I think it is a mis-match in the password-username-role somewhere.
See Realm How-To memory realm in the docs for details.
Rick
----- Original Message ----- From: "Padhu Vinirs" <p.pa...@verizon.net> To: "Tomcat Users List" <tomc...@jakarta.apache.org> Sent: Wednesday, October 02, 2002 1:58 PM Subject: Re: authorization using tomcat...
I did make that change and uncommented the MemoryRealm in servers.xml, restarted the server. Now I dont see any error in the logs files, but I get a error
The server encountered an internal error (/ExamBuilder/Details.jsp) that prevented it from fulfilling this request.
My servers.xml entry is:
<Realm className="org.apache.catalina.realm.MemoryRealm" />
Any ideas ?
Thanks
-- padhu
Craig R. McClanahan wrote:
On Wed, 2 Oct 2002, Padhu Vinirs wrote:
<url-pattern>Details.jsp</url-pattern>
URL patterns need to start with a "/" character. Change this to:
<url-pattern>/Details.jsp</url-pattern>
and you will have much better luck.
Craig





