|
|
|
|
@ -914,8 +914,9 @@ WebSecurityConfigurerAdapter {
@@ -914,8 +914,9 @@ WebSecurityConfigurerAdapter {
|
|
|
|
|
protected void configure(HttpSecurity http) throws Exception { |
|
|
|
|
http |
|
|
|
|
// ... |
|
|
|
|
.logout() |
|
|
|
|
.addLogoutHandler(new HeaderWriterLogoutHandler(new ClearSiteDataHeaderWriter(CACHE, COOKIES))); |
|
|
|
|
.logout((logout) -> logout |
|
|
|
|
.addLogoutHandler(new HeaderWriterLogoutHandler(new ClearSiteDataHeaderWriter(CACHE, COOKIES))) |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
---- |
|
|
|
|
|