Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Application Entitlements Control  RSS feed

 
Srinivas Kalvala
Ranch Hand
Posts: 257
Firefox Browser Hibernate Linux
  • Mark post as helpful
  • send pies
  • 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 ]
 
jiju ka
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!