Two Laptop Bag
The moose likes EJB and other Java EE Technologies and the fly likes Logging in an application from a cookie using JAAS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Logging in an application from a cookie using JAAS" Watch "Logging in an application from a cookie using JAAS" New topic
Author

Logging in an application from a cookie using JAAS

Dimitris Karageorgopoulos
Greenhorn

Joined: Oct 11, 2010
Posts: 11
Dear all,

I have a JSF application that uses JAAS and j_security_check (using database stored login and passwords) to let the users log in.
However, the application will be used by elderly users with a remote control and need to remove the need to make the users fill in the login/ password with the keyboard.

Do you know I can create cookies and use them at authentication time to retrieve the login and password?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes you could, but would single sign on not be an easier option and more secure option?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Dimitris Karageorgopoulos
Greenhorn

Joined: Oct 11, 2010
Posts: 11
For the time being strict security is not an issue. Usability is our main concern
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Logging in an application from a cookie using JAAS
 
Similar Threads
Propagate user credentials to child process
J2EE authentication/authorizaion: does JAAS handle system users and applicaiton users
Using default JAAS Mechanism in Websphere makes applications to access the context path of the other
SCEA security: does JAAS handle system users and applicaiton users
Using JAAS for multiple password sources