Skip to content

Commit

Permalink
Add Message Security Cleanup Steps
Browse files Browse the repository at this point in the history
Issue gh-11337
  • Loading branch information
jzheaux committed Oct 28, 2022
1 parent 1109808 commit f2fc2f9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/modules/ROOT/pages/migration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,33 @@ include::partial$servlet/architecture/request-cache-continue.adoc[]
There are no further migration steps for this feature.
However, if you run into trouble with this enhancement, you can instead <<servlet-replace-methodsecurity-with-globalmethodsecurity,revert the behavior>>.

=== Use `AuthorizationManager` for Message Security

In 6.0, `<websocket-message-broker>` defaults `use-authorization-manager` to `true`.
So, to complete migration, remove any `websocket-message-broker@use-authorization-manager=true` attribute.

For example:

====
.Xml
[source,xml,role="primary"]
----
<websocket-message-broker use-authorization-manager="true"/>
----
====

changes to:

====
.Xml
[source,xml,role="primary"]
----
<websocket-message-broker/>
----
====

There are no further migrations steps for Java or Kotlin for this feature.

== Reactive

=== Use `AuthorizationManager` for Method Security
Expand Down

0 comments on commit f2fc2f9

Please sign in to comment.