• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Declerative Security?

 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where that informatnon is kept and how the container accesses it will be container-specific.
reply
    Bookmark Topic Watch Topic
  • New Topic