mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-09 11:53:30 +00:00
Add Message Security Cleanup Steps
Issue gh-11337
This commit is contained in:
parent
1109808ba7
commit
f2fc2f9a2b
@ -49,6 +49,33 @@ include::partial$servlet/architecture/request-cache-continue.adoc[]
|
|||||||
There are no further migration steps for this feature.
|
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>>.
|
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
|
== Reactive
|
||||||
|
|
||||||
=== Use `AuthorizationManager` for Method Security
|
=== Use `AuthorizationManager` for Method Security
|
||||||
|
Loading…
x
Reference in New Issue
Block a user