Solved

J2EE-web-user login/logout/register  -- authentication system

Posted on 2007-03-22
5
672 Views
Last Modified: 2011-04-14
I am building a website with J2EE (java ee 5). I need a Login Module which deals with user registration, login, logout, etc.

After searching for some articles regarding this on Google, I am simply lost.

Can I use the JAAS in JavaEE? One article says it does not provide functions for user registration and user management. But if JAAS can read user/password pairs from a database, then probably I can write my own registration module. However, I am not sure if JAAS can do it (please tell me). Also, if JAAS can only deal with the list of users created in the operating system or application server, then I don't see how it can be useful for me.

The login module that I am describing is obviously a recurring problem in web applications, so is there any java blueprints describing it? (all i can find is some lengthy documents talking about security, authentication and authorization)

I have then come across JOSSO...  is it popular? does it support Sun Java System Application Server?
0
Comment
Question by:jtjli
5 Comments
 
LVL 92

Accepted Solution

by:
objects earned 168 total points
ID: 18776600
try acegi
0
 
LVL 8

Assisted Solution

by:reach2piyush
reach2piyush earned 166 total points
ID: 18776906
JAAS can be a good choice for your requirements ..
See the documentation below on how to use (requires Java SE 6):
http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/JAASLMDevGuide.html
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 166 total points
ID: 18776947
>> Can I use the JAAS in JavaEE?

Yes of course:

http://java.sun.com/products/jaas/
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question