Marcus Da Coregio пре 2 година
родитељ
комит
f650ebe545

+ 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
     }