Announcement Announcement Module
Collapse
No announcement yet.
authorization in SPRING MVC Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • authorization in SPRING MVC

    I need to know if SPROING comes with any classes for implementing authorization for jsp. For example I have following JSP pages:

    1. abc.jsp
    2. def.jsp
    3. ghi.jsp
    4. jkl.jsp

    I have the following roles:

    a. Admin
    b. Manager
    c. Accountant

    1. Admin is authorized to access all jsp
    2. Manager is authorized to access only def.jsp and ghi.jsp
    3. Accountant is authorized to access only ghi.jsp and jkl.jsp

    Can somebody help how to implement authorization in SPRING MVC.

    Thanks

  • #2
    Spring Security
    http://static.springsource.org/sprin...ite/index.html

    You can enforce authorization at a multitude of levels including request URI, services, domain objects or even within the JSP with the provided taglib.

    Comment


    • #3
      authorization in SPRING MVC

      Thanks for the reply. I'm using SPRING 2.0, is SPRING SECURITY compatible with SPRING 2.0. If not, please suggest alternative solution.

      Comment

      Working...
      X