web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java
public void setSwitchUserUrl(String switchUserUrl) {
		Assert.isTrue(UrlUtils.isValidRedirectUrl(switchUserUrl),
				"switchUserUrl cannot be empty and must be a valid redirect URL");
		this.switchUserMatcher = createMatcher(switchUserUrl);
	}
public void setSwitchUserUrl(String switchUserUrl) {
		Assert.isTrue(UrlUtils.isValidRedirectUrl(switchUserUrl),
				"switchUserUrl cannot be empty and must be a valid redirect URL");
		this.switchUserMatcher = createMatcher(switchUserUrl);
	}
public void setSwitchUserUrl ( String switchUserUrl ) { Assert . isTrue ( UrlUtils . isValidRedirectUrl ( switchUserUrl ) , "switchUserUrl cannot be empty and must be a valid redirect URL" ) ; this . switchUserMatcher = createMatcher ( switchUserUrl ) ; }
Set the URL to respond to switch user processing. This is a shortcut for
{@link #setSwitchUserMatcher(RequestMatcher)}

@param switchUserUrl The switch user URL.
Set the URL to respond to switch user processing . This is a shortcut for { @link #setSwitchUserMatcher ( RequestMatcher ) }