This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion 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
 
 
subject: Logging in an application from a cookie using JAAS
 
It's not a secret anymore!