mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-04-28 01:55:41 +00:00
Merge branch '5.8.x' into 6.1.x
Closes gh-14681
This commit is contained in:
commit
0ab9ad774d
@ -20,7 +20,7 @@ Java::
|
|||||||
@Bean
|
@Bean
|
||||||
SecurityWebFilterChain http(ServerHttpSecurity http) throws Exception {
|
SecurityWebFilterChain http(ServerHttpSecurity http) throws Exception {
|
||||||
DelegatingServerLogoutHandler logoutHandler = new DelegatingServerLogoutHandler(
|
DelegatingServerLogoutHandler logoutHandler = new DelegatingServerLogoutHandler(
|
||||||
new WebSessionServerLogoutHandler(), new SecurityContextServerLogoutHandler()
|
new SecurityContextServerLogoutHandler(), new WebSessionServerLogoutHandler()
|
||||||
);
|
);
|
||||||
|
|
||||||
http
|
http
|
||||||
@ -38,7 +38,7 @@ Kotlin::
|
|||||||
@Bean
|
@Bean
|
||||||
fun http(http: ServerHttpSecurity): SecurityWebFilterChain {
|
fun http(http: ServerHttpSecurity): SecurityWebFilterChain {
|
||||||
val customLogoutHandler = DelegatingServerLogoutHandler(
|
val customLogoutHandler = DelegatingServerLogoutHandler(
|
||||||
WebSessionServerLogoutHandler(), SecurityContextServerLogoutHandler()
|
SecurityContextServerLogoutHandler(), WebSessionServerLogoutHandler()
|
||||||
)
|
)
|
||||||
|
|
||||||
return http {
|
return http {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user