Merge branch '5.8.x'
This commit is contained in:
commit
8474acebf2
|
@ -40,13 +40,13 @@ public SecurityFilterChain filterChain(HttpSecurity http) {
|
||||||
-----
|
-----
|
||||||
open fun filterChain(http: HttpSecurity): SecurityFilterChain {
|
open fun filterChain(http: HttpSecurity): SecurityFilterChain {
|
||||||
http {
|
http {
|
||||||
logout {
|
logout { // <1>
|
||||||
logoutUrl = "/my/logout" // <1>
|
logoutUrl = "/my/logout" // <2>
|
||||||
logoutSuccessUrl = "/my/index" // <2>
|
logoutSuccessUrl = "/my/index" // <3>
|
||||||
logoutSuccessHandler = customLogoutSuccessHandler // <3>
|
logoutSuccessHandler = customLogoutSuccessHandler // <4>
|
||||||
invalidateHttpSession = true // <4>
|
invalidateHttpSession = true // <5>
|
||||||
addLogoutHandler(logoutHandler) // <5>
|
addLogoutHandler(logoutHandler) // <6>
|
||||||
deleteCookies(cookieNamesToClear) // <6>
|
deleteCookies(cookieNamesToClear) // <7>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// ...
|
// ...
|
||||||
|
|
Loading…
Reference in New Issue