Skip to content

Commit f2fc2f9

Browse files
committed
Add Message Security Cleanup Steps
Issue gh-11337
1 parent 1109808 commit f2fc2f9

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/modules/ROOT/pages/migration.adoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,33 @@ include::partial$servlet/architecture/request-cache-continue.adoc[]
4949
There are no further migration steps for this feature.
5050
However, if you run into trouble with this enhancement, you can instead <<servlet-replace-methodsecurity-with-globalmethodsecurity,revert the behavior>>.
5151

52+
=== Use `AuthorizationManager` for Message Security
53+
54+
In 6.0, `<websocket-message-broker>` defaults `use-authorization-manager` to `true`.
55+
So, to complete migration, remove any `websocket-message-broker@use-authorization-manager=true` attribute.
56+
57+
For example:
58+
59+
====
60+
.Xml
61+
[source,xml,role="primary"]
62+
----
63+
<websocket-message-broker use-authorization-manager="true"/>
64+
----
65+
====
66+
67+
changes to:
68+
69+
====
70+
.Xml
71+
[source,xml,role="primary"]
72+
----
73+
<websocket-message-broker/>
74+
----
75+
====
76+
77+
There are no further migrations steps for Java or Kotlin for this feature.
78+
5279
== Reactive
5380

5481
=== Use `AuthorizationManager` for Method Security

0 commit comments

Comments
 (0)