Skip to content

Commit

Permalink
Fix ServerLogoutHandler Order in Docs
Browse files Browse the repository at this point in the history
Closes gh-14379
  • Loading branch information
jzheaux committed Mar 4, 2024
1 parent c2e97d7 commit e1c4177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/reactive/authentication/logout.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Java::
@Bean
SecurityWebFilterChain http(ServerHttpSecurity http) throws Exception {
DelegatingServerLogoutHandler logoutHandler = new DelegatingServerLogoutHandler(
new WebSessionServerLogoutHandler(), new SecurityContextServerLogoutHandler()
new SecurityContextServerLogoutHandler(), new WebSessionServerLogoutHandler()
);
http
Expand All @@ -38,7 +38,7 @@ Kotlin::
@Bean
fun http(http: ServerHttpSecurity): SecurityWebFilterChain {
val customLogoutHandler = DelegatingServerLogoutHandler(
WebSessionServerLogoutHandler(), SecurityContextServerLogoutHandler()
SecurityContextServerLogoutHandler(), WebSessionServerLogoutHandler()
)
return http {
Expand Down

0 comments on commit e1c4177

Please sign in to comment.