From 23c8f479b8f28b4386f044de893f0220db09d5ab Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sun, 13 Sep 2009 20:45:38 +0000 Subject: [PATCH] SEC-1226: Renamed useRelativeContext to contextRelative to match corresponding flag name in Spring Framework. --- .../switchuser/SwitchUserProcessingFilterTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/test/java/org/springframework/security/web/authentication/switchuser/SwitchUserProcessingFilterTests.java b/web/src/test/java/org/springframework/security/web/authentication/switchuser/SwitchUserProcessingFilterTests.java index 25ff3f5744..e4b0ee2a89 100644 --- a/web/src/test/java/org/springframework/security/web/authentication/switchuser/SwitchUserProcessingFilterTests.java +++ b/web/src/test/java/org/springframework/security/web/authentication/switchuser/SwitchUserProcessingFilterTests.java @@ -308,7 +308,7 @@ public class SwitchUserProcessingFilterTests { SimpleUrlAuthenticationSuccessHandler switchSuccessHandler = new SimpleUrlAuthenticationSuccessHandler("/someOtherUrl"); DefaultRedirectStrategy contextRelativeRedirector = new DefaultRedirectStrategy(); - contextRelativeRedirector.setUseRelativeContext(true); + contextRelativeRedirector.setContextRelative(true); switchSuccessHandler.setRedirectStrategy(contextRelativeRedirector); filter.setSuccessHandler(switchSuccessHandler); filter.setUserDetailsService(new MockUserDetailsService());