• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!