Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rudimentary question about JAAS authenticated entity

 
Chulwoo Choi
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I�m not sure what the authenticated entity is in a web app. Is it the session or the object in which JAAS authentication occurred??

For example, consider a user who wants to access a secured EJB though a web application. A user would login in the JSF login page and the backing bean will authenticate the user using the JAAS API.
In this case, is the user considered authenticated as long as the session is alive?? Or is it only the backing bean object that can access the secured area??

Thanks for help in advance.
Chulwoo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic