Solved

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

Posted on 2007-03-22
5
668 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:mayankeagle
mayankeagle 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now