config/src/main/java/org/springframework/security/config/annotation/web/configurers/LogoutConfigurer.java
public LogoutConfigurer<H> logoutSuccessHandler(
			LogoutSuccessHandler logoutSuccessHandler) {
		this.logoutSuccessUrl = null;
		this.customLogoutSuccess = true;
		this.logoutSuccessHandler = logoutSuccessHandler;
		return this;
	}
public LogoutConfigurer<H> logoutSuccessHandler(
			LogoutSuccessHandler logoutSuccessHandler) {
		this.logoutSuccessUrl = null;
		this.customLogoutSuccess = true;
		this.logoutSuccessHandler = logoutSuccessHandler;
		return this;
	}
Sets the {@link LogoutSuccessHandler} to use. If this is specified,
{@link #logoutSuccessUrl(String)} is ignored.

@param logoutSuccessHandler the {@link LogoutSuccessHandler} to use after a user
has been logged out.
@return the {@link LogoutConfigurer} for further customizations