Re: global auth. for application

2007-01-10 Thread Mikolaj Rydzewski
Aljosa Mohorovic wrote: i'm using struts 1.2.9 and maybe we will use container-managed authorization, but my question is also related to similar tasks like howto implement statistics. extending request processor will solve all current problems. Switch to 1.3.x. You won't have to extends request p

Re: global auth. for application

2007-01-10 Thread Aljosa Mohorovic
i'm using struts 1.2.9 and maybe we will use container-managed authorization, but my question is also related to similar tasks like howto implement statistics. extending request processor will solve all current problems. thanks to all for help. On 1/9/07, Christopher Schultz <[EMAIL PROTECTED]>

Re: global auth. for application

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aljosa, Aljosa Mohorovic wrote: > when creating struts app if entire app requires authorization how can > i check if user is logged in without having to check session vars in > every action? Is there a reason not to use the container-managed authoriz

Re: global auth. for application

2007-01-09 Thread walidito
What version of struts are you talking about? In struts 2, I think an interceptor could help (that's what Im using), but I 'm not sure that it is a good practice. Generally speaking, for struts 1.x or even struts2.x Spring could help : here is a useful link http://www.javaworld.com/javaworld/jw-01

RE: global auth. for application

2007-01-09 Thread Bolutiwi, Olu
Extend request processor (struts 1.2.X), validate and forward to appropriate view if validation succeeds, this means that every action in your entire application is validated. I hope am clear -Original Message- From: Aljosa Mohorovic [mailto:[EMAIL PROTECTED] Sent: 09 January 2007 15:00