struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Kuederle <>
Subject How to handle user rights/permissions
Date Thu, 18 Jul 2002 15:46:35 GMT

I am not clear on how I can handle different user rights in Struts. This is how
I perceive it to be:

There are different "sections" on my (Struts-powered) website, for example:

Section A: Handling employee data.
Section B: Handling company information.
Section C: System administration.

(A page can contain elements of different sections.)

Each user has their own access level for each section which is one of the

Level 0: No rights.
Level 1: Read-only.
Level 2: Write.

For example, if an input field X belongs to section A and the user has A=0
permission, X should not be displayed. For A=1, X should be simple HTML text.
For A=2, it should be the input field.

Can something like this be handled with Struts? If so, how? If not, what's the
best I can get in terms of user access management?



Gesendet von Yahoo! Mail -
Möchten Sie mit einem Gruß antworten?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message