Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Declerative security ?

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question regarding declerative security in the DD.

After the container authenticate a user, how and where the container keeps reference to the the user role?

For example: After the user login and access a constraind resource, then click on another link to other constrained resources. Does the container ask the user to login again? If not, how the container know it is the same user?

In another situation: When the code invoke request.isUserInRole("string");
The container must know what is the user role. Where such information is kept?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic