Add deprecation warning to CsrfDsl#ignoringAntMatchers

Issue gh-11347
This commit is contained in:
Marcus Da Coregio 2022-10-06 13:50:38 -03:00
parent bc4ad52feb
commit 8a5aed2983
1 changed files with 1 additions and 0 deletions

View File

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