You could:
1. Do the check in a base class that extends action and have all your
actions extend that base class.

2. Use Container managed security to handle it all.

Robert Nocera
New England Open Solutions
www.neosllc.com
"You supply the vision, we'll do the rest."
 

-----Original Message-----
From: Robert Tyler Retzlaff [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 16, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: persistent authentication

One of the advantages of the MVC approach is that the controller is 
able to provide authentication verification for each request to a 
resource in the application.

Does struts support this?  If so how?  Currently I'm 'checking' 
authentication in each of my xxxxAction classes that extend Action
and doing the same for jsp pages via a custom tag.  It's a bit 
redundant.

Examples are good.

Thanks

rob

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


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

Reply via email to