📅  最后修改于: 2022-03-11 14:52:29.515000             🧑  作者: Mango
// Must permit all requests to the desired url
.and()
.logout()
.invalidateHttpSession(true)
.logoutSuccessUrl("/login?logout=true")
.permitAll().logoutUrl("/logout");