SEC-1226: Renamed useRelativeContext to contextRelative to match corresponding flag name in Spring Framework.

This commit is contained in:
Luke Taylor 2009-09-13 20:45:38 +00:00
parent 593d2e227a
commit 23c8f479b8
1 changed files with 1 additions and 1 deletions

View File

@ -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());