Results 1 to 3 of 3

Thread: authorization in SPRING MVC

  1. #1
    Join Date
    Jan 2009
    Posts
    18

    Default 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. #2
    Join Date
    Mar 2006
    Posts
    312

    Default

    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.

  3. #3
    Join Date
    Jan 2009
    Posts
    18

    Default 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •