[Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Jonathan Scher
Hi, I can't figure out why the BeforeAndAfter interceptor is loaded twice. I need the stripesstuff.sercurity to check if the user is logged and has rights to run an action before loading any initializing method of this action. But with my configuration file, I got this log : 10:28:14,097 INFO Secu

Re: [Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Levi Hoogenberg
Since 1.5, the BeforeAfterInterceptor is a core interceptor (you can configure those with the CoreInterceptor.Classes parameter). You don't have to configure it as a regular interceptor anymore. In fact, I think that was the whole point of making it a core interceptor - so that you don't have to re

Re: [Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Freddy Daoud
Hi Jonathan, Try removing BeforeAndAfter from the Interceptor.Classes parameter. Stripes already loads this interceptor internally. Cheers, Freddy http://www.stripesbook.com On Tue, 27 Jan 2009 09:40:15 + (UTC), "Jonathan Scher" said: > Hi, > I can't figure out why the BeforeAndAfter interc

Re: [Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Jonathan Scher
The security interceptor (org.stripesstuff.plugin.security) is ran at binding and validation. Just like the BeforeAndAfter one. But I don't want any initialization method to be called if the user can not see that page anyway. How can I tell Stripes to run one interceptor before another? The only w

Re: [Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Ben Gunter
On Tue, Jan 27, 2009 at 8:55 AM, Jonathan Scher wrote: > The security interceptor (org.stripesstuff.plugin.security) is ran at binding > and validation. Just like the BeforeAndAfter one. But I don't want any > initialization method to be called if the user can not see that page anyway. > > How can

Re: [Stripes-users] BeforeAndAfter is loaded twice

2009-01-27 Thread Oscar Westra van Holthe - Kind
On 27-01-2009 at 13:55, Jonathan Scher wrote: > The security interceptor (org.stripesstuff.plugin.security) is ran at binding > and validation. Just like the BeforeAndAfter one. But I don't want any > initialization method to be called if the user can not see that page anyway. You raise a valid po