浏览代码

Add Message Security Cleanup Steps

Issue gh-11337
Josh Cummings 2 年之前
父节点
当前提交
f2fc2f9a2b
共有 1 个文件被更改,包括 27 次插入0 次删除
  1. 27 0
      docs/modules/ROOT/pages/migration.adoc

+ 27 - 0
docs/modules/ROOT/pages/migration.adoc

@@ -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