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 +0000 (UTC), "Jonathan Scher"
<scher.jonat...@gmail.com> said:
> 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 SecurityInterceptor:172 - Initialized the
> SecurityInterceptor
> with the SecurityManager:
> com.xxx.yyy.front.service.stripes.nonext.casecuritymana...@cf245f
> 10:28:14,097  INFO SecurityInterceptor:172 - Initialized the
> SecurityInterceptor
> with the SecurityManager:
> com.xxx.yyy.front.service.stripes.nonext.casecuritymana...@cf245f
> 10:28:14,175  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for ActionBeanResolution
> 10:28:14,185  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for RequestComplete
> 10:28:14,187  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for EventHandling
> 10:28:14,193  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for RequestInit
> 10:28:14,196  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for BindingAndValidation
> 10:28:14,198  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for ResolutionExecution
> 10:28:14,199  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for HandlerResolution
> 10:28:14,202  WARN DefaultConfiguration:161 - Interceptor class
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor is
> configured to
> run more than once for CustomValidation
> 
> 
> here is my configuration file...
> http://pastebin.com/f34aed70c
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to