File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Spring Security implementaion  for a web application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Security implementaion  for a web application ?" Watch "Spring Security implementaion  for a web application ?" New topic
Author

Spring Security implementaion for a web application ?

Koti Samadhi
Greenhorn

Joined: Aug 26, 2009
Posts: 29
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]



[Thumbnail for Screen.JPG]

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Security implementaion for a web application ?
 
Similar Threads
Spring security in same project by two separate user entities(Customer & User table)
security-constraint + http-methods
Authorization over UIComponents with JSF 2.0
Dynamic Spring 3 Security?
Webapp-Security chapter revision notes from HFSJ , may be useful