A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
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.
I agree. Here's the link:
subject: How to show modules depending on the users role in a web app?
Portal app or web app?
Getting defined security-roles programatically
role-link and role-name elements?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014