I would start by looking at Tiles - you can associate roles using tiles.

If you are using XML configuration, you can associate a role with a
definition

       <definition name="my.tile.definition" path="...." role="myRole">
       </definition>

Also the tiles tags
      <tiles:insert page=".." role="...">
      <tiles:definition template=".." role="...">
      <tiles:put name=".." value="...." role="...">
      <tiles:add value=".." role="...">
      <tiles:get value=".." role="...">

To find out more about tiles:
   http://jakarta.apache.org/struts/userGuide/dev_tiles.html
   http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf

Also there is a tiles-documentation.war shipped with struts

Niall
----- Original Message ----- 
From: "Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 4:16 AM
Subject: a security framework!


> Hi,
> I'm developing a web application with struts framework.I want to design
some
> jsp pages that support security at pages level.The security that I want to
> be supported is that some components of each page can be shown for certain
> user.I mean that for each user deponds on his access to the system we can
> show some components of each page and does'nt show other components.Each
> user deponds on his type and access at the system just can see his own
> pages.can you offer a good framework for this goal that be compatible with
> struts framework.
>
> Regards
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to