declarative « Security « JSP-Servlet Q&A





1. security: declarative vs. programmatic    coderanch.com

All of my servlet and JSP stuff in the past has had some code that I wrote that keeps people from seeing the information without my permission. Recently, I inherited a project where they go into web.xml and declare who is allowed to access any jsp or servlet. The web.xml file is enormous. The idea is that if the user doesn't ...

2. Declarative or Programmatic Security???    coderanch.com

Hi, I need some suggestions on how to implement a security control. The system I am working on has several modes. The security policy is different for differnt modes. For example, If the application is switched to "Maintainence" mode, all web resources can only be accessed by "Admin", all "Users" will be re-directed to an error page telling them the system ...