| Author |
Spring Security implementaion for a web application ?
|
Koti Samadhi
Greenhorn
Joined: Aug 26, 2009
Posts: 23
|
|
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]
|
 |
Marc Heruela
Ranch Hand
Joined: Jul 23, 2009
Posts: 38
|
|
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
|
-marckun
|
 |
 |
|
|
subject: Spring Security implementaion for a web application ?
|
|
|