SEC-1226: Renamed useRelativeContext to contextRelative to match corresponding flag name in Spring Framework.
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user