@@ -196,13 +196,6 @@ def filterSecurityInterceptor(self):
196196 ]
197197 return filter
198198
199- @Object
200- def exceptionFilter (self ):
201- filter = MiddlewareFilter ()
202- filter .clazz = "paste.evalexception.middleware.EvalException"
203- filter .appAttribute = "application"
204- return filter
205-
206199 @Object
207200 def authenticationProcessingFilterEntryPoint (self ):
208201 filter = AuthenticationProcessingFilterEntryPoint ()
@@ -228,11 +221,10 @@ def exceptionTranslationFilter(self):
228221 def filterChainProxy (self ):
229222 return FilterChainProxy (filterInvocationDefinitionSource =
230223 [
231- ("/images.*" , [self .exceptionFilter (), ]),
232- ("/html.*" , [self .exceptionFilter (), ]),
233- ("/login.*" , [self .exceptionFilter (), self .httpContextFilter ()]),
234- ("/.*" , [self .exceptionFilter (),
235- self .httpContextFilter (),
224+ ("/images.*" , []),
225+ ("/html.*" , []),
226+ ("/login.*" , [self .httpContextFilter ()]),
227+ ("/.*" , [self .httpContextFilter (),
236228 self .exceptionTranslationFilter (),
237229 self .authenticationProcessingFilter (),
238230 self .filterSecurityInterceptor ()])
@@ -447,13 +439,6 @@ def filterSecurityInterceptor(self):
447439 ("/.*" , ["VET_ANY" , "CUSTOMER_ANY" ])]
448440 return filter
449441
450- @Object
451- def exceptionFilter (self ):
452- filter = MiddlewareFilter ()
453- filter .clazz = "paste.evalexception.middleware.EvalException"
454- filter .appAttribute = "application"
455- return filter
456-
457442 @Object
458443 def authenticationProcessingFilterEntryPoint (self ):
459444 filter = AuthenticationProcessingFilterEntryPoint ()
@@ -479,11 +464,10 @@ def exceptionTranslationFilter(self):
479464 def filterChainProxy (self ):
480465 return FilterChainProxy (filterInvocationDefinitionSource =
481466 [
482- ("/images.*" , [self .exceptionFilter (), ]),
483- ("/html.*" , [self .exceptionFilter (), ]),
484- ("/login.*" , [self .exceptionFilter (), self .httpContextFilter ()]),
485- ("/.*" , [self .exceptionFilter (),
486- self .httpContextFilter (),
467+ ("/images.*" , []),
468+ ("/html.*" , []),
469+ ("/login.*" , [self .httpContextFilter ()]),
470+ ("/.*" , [self .httpContextFilter (),
487471 self .exceptionTranslationFilter (),
488472 self .authenticationProcessingFilter (),
489473 self .filterSecurityInterceptor ()])
0 commit comments