A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
How to show modules depending on the users role in a web app?
Joined: Sep 15, 2003
Jul 22, 2004 14:39:00
I need to write the
layer of a web-app where the modules visible to a user, once the user logs in , the modules visible to the user depend on the role assigned to her/him.
What are the suitable options to implement this?
Thanks for the help.
Joined: Feb 05, 2003
Jul 22, 2004 20:52:00
I believe this is something 99% web.xml
You can assign groups to certain
like the administrators are assigned to admin/* (the admin module). I don't know how else to explain it without just doing it for you and what's the fun in that?
A good workman is known by his tools.
It is sorta covered in the
JavaRanch Style Guide
subject: How to show modules depending on the users role in a web app?
role-link and role-name elements?
Getting defined security-roles programatically
Portal app or web app?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014