• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Spring Security implementaion for a web application ?

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are developing java based Web application having different users

we have classified the users on role basis.

Roles defined as below:

1. Office Admin - Admin can access entire application screens and links related to particular office

2. Senior Employee-this employee should access particular screens and links where permissions allowed by Office Admin

3. Normal Employee-this employee should access particular screens and links where permissions allowed by Senior Employee


Query: 1. How to define role permissions using Spring Security?

2. Is it possible screen/jsp page locking using Spring security?

3. How many ways spring security can be implemented for (domain, screen , table ) permissions or locking?

Please find the attached screen shot and anyone can give better solution , it will be great for me.


Thanks ,

Koti

[/b]
Screen.JPG
[Thumbnail for Screen.JPG]
ScreenShot
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm im no expert, but iv tried using spring security (and is still using it now).

This reference is quite straign forward.

http://www.mularien.com/blog/2008/07/07/5-minute-guide-to-spring-security/

Basically you need these fields: username, password, role and enabled defined in your database.

and im not sure spring security is capable of page/jsp locking. i think not.

-marckun
 
reply
    Bookmark Topic Watch Topic
  • New Topic