From aa52124d728de828b6301e8c13a64459fc8ba14c Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Wed, 5 Jul 2006 22:00:21 +0000 Subject: [PATCH] Simplify configuration of FilterInvocationDefinitionMap --- .../intercept/web/FilterSecurityInterceptorTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java b/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java index 25743c280a..29c576d04f 100644 --- a/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java +++ b/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java @@ -241,7 +241,9 @@ public class FilterSecurityInterceptorTests extends TestCase { PathBasedFilterInvocationDefinitionMap filterInvocationDefinitionSource = new PathBasedFilterInvocationDefinitionMap(); filterInvocationDefinitionSource .setConvertUrlToLowercaseBeforeComparison(true); - filterInvocationDefinitionSource.setMappings(mappings); + FilterInvocationDefinitionMapDecorator decorator = new FilterInvocationDefinitionMapDecorator( + filterInvocationDefinitionSource); + decorator.setMappings(mappings); FilterSecurityInterceptor filter = new FilterSecurityInterceptor(); filter.setObjectDefinitionSource(filterInvocationDefinitionSource);