You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Manjunath Bhat <mb...@firstam.com> on 2003/11/28 09:25:54 UTC

RE: security pattern

Use <security-constraint> and <security-role> in web application
deployment descriptor (web.xml). 

HTH

Manjunath

-----Original Message-----
From: Vano Beridze [mailto:vano.beridze@silkroad.ge] 
Sent: Friday, November 28, 2003 9:27 PM
To: struts-user@jakarta.apache.org
Subject: security pattern

Hello
I'm a new user to struts.

What will be the best design pattern to achieve jsp pages protection in 
my web app?

For instance I want to implement the following scenario.

user A has a role RoleA
user B has a role RoleB

I have to pages:
PageThatRequiresRoleA.jsp
PageThatRequiresRoleB.jsp

only user A must have an access to PageThatRequiresRoleA.jsp
and
only user B must have an access to PageThatRequiresRoleB.jsp

Thank you very much

Vano



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org