RE: Controller and security

2002-02-26 Thread Jesse Alexander (KADA 12)
Dewhirst [mailto:[EMAIL PROTECTED]] Sent: Freitag, 8. Februar 2002 16:44 To: 'Struts Users Mailing List' Subject: Controller and security We are trying to come with a good security model in conjunction with Struts. I was thinking of calling a business class method to check the user's

Re: RE: Controller and security

2002-02-08 Thread Chuck Cavaness
I've seen this solution work very well. When you extend the ActionServlet, you can override the "processPreprocess" method to determine if the user has the neccessary permissions, if the user has a valid session, etc... long before ever getting to the Action class (If you're using the 1.1 versi

Re: Controller and security

2002-02-08 Thread Jin Bal
You could dispense with changing/extending the controller by creating an abstract action layer that defines a new abstract method such as performAction() which returns an actionforward obj like perform() . Your perform method in the abstract class then carries out the validaton if it is ok it cal

Antwort: RE: Controller and security

2002-02-08 Thread christian_weiler
The book 'JSP Professional' recommends to put the security stuff into processMapping()-method of the controller respectively ActionServlet (after inheriting). Wouldn't it be a good idea to integrate a kind of callback mechanism into the controller? So functions which make sense to do them at a c

RE: Controller and security

2002-02-08 Thread David Larson
fault controlling servlet. hth, dave -Original Message- From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 9:44 AM To: 'Struts Users Mailing List' Subject: Controller and security We are trying to come with a good security model in conjunction with

Re: Controller and security

2002-02-08 Thread John M. Corro
m the application flow (Struts). - Original Message - From: "Mike Dewhirst" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, February 08, 2002 9:44 AM Subject: Controller and security > We are trying to come w

Controller and security

2002-02-08 Thread Mike Dewhirst
We are trying to come with a good security model in conjunction with Struts. I was thinking of calling a business class method to check the user's permission for the requested mapping from within the Controller, but I'm sure custom-modifying source code of a generic frame work is not exactly best