This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Security implementaion for a web application ?

 
Koti Samadhi
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • 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
ScreenShot
[Thumbnail for Screen.JPG]
 
Marc Heruela
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic