The moose likes Security and the fly likes Programming Authentication & Authorization. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Programming Authentication & Authorization." Watch "Programming Authentication & Authorization." New topic

Programming Authentication & Authorization.

Varun Narang
Ranch Hand

Joined: Nov 19, 2004
Posts: 30
Hello all,

I am in process to create a new application, My requirement here is that I want to create a reusable module that I want to use for authentication & authorization. Further I want that when ever a user logs-in, his/her privileges get stored in the session and based on the data stored in the database s/he should be able to view the page and event the fields/components on it.
Can any one help me with the design of the above requirement or at least point me to some link.
Thanks in advance for the same.

Your computer system is like AC, it's of no use when you open Windows ;)
Jason Moors
Ranch Hand

Joined: Dec 04, 2001
Posts: 188
Acegi Security may be of interest as it provides the functionality you have described, it's based on the Spring Framework, but will save re-implementing the wheel.

It also includes a JSP Tag library for protecting links/content on the page.

[ February 14, 2007: Message edited by: Jason Moors ]
I agree. Here's the link:
subject: Programming Authentication & Authorization.
It's not a secret anymore!