Solved

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

Posted on 2007-03-22
5
670 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unix in java example 9 53
eclipse compiler vs Installed JREs option 3 76
starter POM and spring-boot-starter,  spring-boot-web 2 43
varialbe initialization 11 30
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

910 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

21 Experts available now in Live!

Get 1:1 Help Now