You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yang Liu <re...@verizon.net> on 2002/12/10 00:55:50 UTC

different roles and sub-applications

Hi list,
  I am new to Struts.
  Ask for help and suggestions: my application will be used by different
user under different roles. Some roles can access certain items/fields in
database tables while other can't, and some can read/write tables etc.
  Application managed security is prefered because not sure what container
will be used.
  Struts 1.1 can have multuple sub-applications, will it be a good idea to
handle this via sub-applications? each role is mapped to a sub-application,
with a unique set of config, (which table can access, which item in that
table can access, whether can modify data or not, etc).
  If not using this approach, what will be a good way to do such things?
Using lot of request.isUserInRole( role ) seems too much to handle...

Thanks a lot,




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>