File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Auth and Auth using JAAS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Auth and Auth using JAAS?" Watch "Auth and Auth using JAAS?" New topic

Auth and Auth using JAAS?

Gaurav Jain
Ranch Hand

Joined: Mar 11, 2004
Posts: 108
How do i use JAAS to create my auth and auth functioanlity.I have a role model defined according to which users can have access to functionalities/pages according to their roles.
How do i implement this using JAAS.
Any tutorials/pointers will be appreciated.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Those nice people at Sun have provided a Developer's Guide. You could start there.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Charles GAY

Joined: Jun 11, 2004
Posts: 18
you should have a look towards jguard ( which provides what you need (JAAS integration in j2ee to manage authentication and authorization stuff).
notice that the 0.65beta1 release (hopefully put on sourceforge this day) permits to manage authorization (url,domains=> group of urls, and roles) through a webapp.

hope it helps,

Charles(jguard team).
I agree. Here's the link:
subject: Auth and Auth using JAAS?
It's not a secret anymore!