Skip to content

Commit 179428f

Browse files
author
Steve Riesenberg
committed
Add section for migrating WebSocket support
Issue gh-12378
1 parent 13487be commit 179428f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* xref:migration/index.adoc[Migrating to 6.0]
66
** xref:migration/servlet/index.adoc[Servlet Migrations]
77
*** xref:migration/servlet/session-management.adoc[Session Management]
8+
*** xref:migration/servlet/exploits.adoc[Exploit Protection]
89
*** xref:migration/servlet/authentication.adoc[Authentication]
910
*** xref:migration/servlet/authorization.adoc[Authorization]
1011
** xref:migration/reactive.adoc[Reactive Migrations]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= Exploit Protection Migrations
2+
3+
The following steps relate to how to finish migrating exploit protection support.
4+
5+
== CSRF BREACH with WebSocket support
6+
7+
In Spring Security 5.8, the default `ChannelInterceptor` for making the `CsrfToken` available with xref:servlet/integrations/websocket.adoc[WebSocket Security] is `CsrfChannelInterceptor`.
8+
`XorCsrfChannelInterceptor` was added to allow opting into CSRF BREACH support.
9+
10+
In Spring Security 6, `XorCsrfChannelInterceptor` is the default `ChannelInterceptor` for making the `CsrfToken` available.
11+
If you configured the `XorCsrfChannelInterceptor` only for the purpose of updating to 6.0, you can remove it completely.

0 commit comments

Comments
 (0)