mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-15 06:43:32 +00:00
Add deprecation warning to CsrfDsl#ignoringAntMatchers
Issue gh-11347
This commit is contained in:
parent
bc4ad52feb
commit
8a5aed2983
@ -54,6 +54,7 @@ class CsrfDsl {
|
|||||||
* @param antMatchers the ANT pattern matchers that should not use CSRF
|
* @param antMatchers the ANT pattern matchers that should not use CSRF
|
||||||
* protection
|
* protection
|
||||||
*/
|
*/
|
||||||
|
@Deprecated("Use ignoringRequestMatchers instead")
|
||||||
fun ignoringAntMatchers(vararg antMatchers: String) {
|
fun ignoringAntMatchers(vararg antMatchers: String) {
|
||||||
ignoringAntMatchers = antMatchers
|
ignoringAntMatchers = antMatchers
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user