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

HTH

Manjunath

-----Original Message-----
From: Vano Beridze [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2003 9:27 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to