You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ramadoss Chinnakuzhandai <rc...@register.com> on 2003/10/21 19:51:12 UTC
Role based action
Hi,
I need to load some jsp pages based on different level of access control who are accessing the site. for eg for userA I need to show some pages while userB can only view/access few pages.
Thanks in advance,
-Ram
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Role based action
Posted by Adam Hardy <ah...@cyberspaceroad.com>.
On 10/21/2003 07:51 PM Ramadoss Chinnakuzhandai wrote:
> Hi,
> I need to load some jsp pages based on different level of access control who are accessing the site. for eg for userA I need to show some pages while userB can only view/access few pages.
>
> Thanks in advance,
> -Ram
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
Hi Ram,
you can set that up using container-managed security and specifying the
roles that are returned by your realm for each action mapping.
Adam
--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org