瀏覽代碼

Merge branch '5.8.x'

Marcus Da Coregio 2 年之前
父節點
當前提交
f650ebe545
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      config/src/main/kotlin/org/springframework/security/config/annotation/web/CsrfDsl.kt

+ 1 - 0
config/src/main/kotlin/org/springframework/security/config/annotation/web/CsrfDsl.kt

@@ -54,6 +54,7 @@ class CsrfDsl {
      * @param antMatchers the ANT pattern matchers that should not use CSRF
      * protection
      */
+    @Deprecated("Use ignoringRequestMatchers instead")
     fun ignoringAntMatchers(vararg antMatchers: String) {
         ignoringAntMatchers = antMatchers
     }