Merge branch '5.8.x'

This commit is contained in:
Steve Riesenberg 2022-08-29 15:12:48 -05:00
commit 8474acebf2
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 7 additions and 7 deletions

View File

@ -40,13 +40,13 @@ public SecurityFilterChain filterChain(HttpSecurity http) {
-----
open fun filterChain(http: HttpSecurity): SecurityFilterChain {
http {
logout {
logoutUrl = "/my/logout" // <1>
logoutSuccessUrl = "/my/index" // <2>
logoutSuccessHandler = customLogoutSuccessHandler // <3>
invalidateHttpSession = true // <4>
addLogoutHandler(logoutHandler) // <5>
deleteCookies(cookieNamesToClear) // <6>
logout { // <1>
logoutUrl = "/my/logout" // <2>
logoutSuccessUrl = "/my/index" // <3>
logoutSuccessHandler = customLogoutSuccessHandler // <4>
invalidateHttpSession = true // <5>
addLogoutHandler(logoutHandler) // <6>
deleteCookies(cookieNamesToClear) // <7>
}
}
// ...