Hello,
I am trying to manipulate a web site by having the
Tomcat users file control who gets to see certain pages on the site depending on their role. This is just for a pilot so the users are just being recorded right in the file.
I am implementing a controller/command
pattern where each command class forwards the user to the appropriate page.
If a users types in a url for the page, they are presented a login dialog. If a user tries to access a page from the menu, and is forward to the page via the Controller
servlet, they are able to bypass security. The URLs embedded into the pages are "./controller?cmd=ViewDetails". Otherwise there is a servlet mapping that each command class returns the to controller in the format of /viewDetails.
Here is the xml.
Any ideas on how to still user the controller servlet to forward users to various pages while still being able to lockdown individual pages?
Thanks for the help!
br