wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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
 
Consider Paul's rocket mass heater.
 
subject: Logging in an application from a cookie using JAAS
 
Similar Threads
Using default JAAS Mechanism in Websphere makes applications to access the context path of the other
Propagate user credentials to child process
SCEA security: does JAAS handle system users and applicaiton users
Using JAAS for multiple password sources
J2EE authentication/authorizaion: does JAAS handle system users and applicaiton users