Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello sir..i am doing one project on jsp in which three users are there admin and staff and student...i want to do priviledeges to all the users....i have one priviledge page in which i am selecting user type from database and there are check boxes with option add,edit,delete when student login he can add,edit delete his data and if he wants to see staff data one alert message will come as "you are not authorised"and same with the staff but when admin login he can do all things.........how can i do it....plz provide me some help for doing priviledeges using sessions.....???????
Posted
Updated 10-Jun-12 0:40am
v2

1 solution

Sounds like you want roles implementation in JSP. Look here:
Tutorial: JSP - Security[^]
Working with Security Roles[^]

See if these help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900