• 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 posted this question on SCWCD, and I didn't get any responses.

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
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where that informatnon is kept and how the container accesses it will be container-specific.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!