• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Application Entitlements Control

 
Ranch Hand
Posts: 257
Hibernate Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am building a web application, in which JSP pages and certain controls are visible to only one set of users and will be hide to other users. I want to control the entitlements of my application.

I did some google search on this, but I did not find any useful and right away to apply stuff.


Please can any one suggest a best way to control entitlements in an typical J2EE Application.
[ February 12, 2007: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may need to introduce roles.

The login credentials like userid should be associated with role.

If Role is Admin, the admin pages and admin business functionalities will be functional. Otherwise you can either redirect the user to the opening page or block the user with a warning in response.
 
reply
    Bookmark Topic Watch Topic
  • New Topic