private void setLogout(LogoutConfigurer<HttpSecurity> logout) {
        SimpleUrlLogoutSuccessHandler handler = new SimpleUrlLogoutSuccessHandler();
        handler.setUseReferer(true);
        logout.logoutUrl("/logout").logoutSuccessHandler(handler).deleteCookies("JSESSIONID");
    }
filterChain

@param http http
@return SecurityFilterChain
@throws Exception Exception
src/main/java/com/tuituidan/openhub/config/SecurityConfig.java