From 3bc76815c20d2dc201693885ffd704621adbd41e Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Tue, 4 Oct 2022 11:24:54 -0500 Subject: [PATCH] Update csrf.request-handler-ref in 6.0 Issue gh-11918 --- .../org/springframework/security/config/spring-security-6.0.rnc | 2 +- .../org/springframework/security/config/spring-security-6.0.xsd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/main/resources/org/springframework/security/config/spring-security-6.0.rnc b/config/src/main/resources/org/springframework/security/config/spring-security-6.0.rnc index 047a52c3f8..7481e0f122 100644 --- a/config/src/main/resources/org/springframework/security/config/spring-security-6.0.rnc +++ b/config/src/main/resources/org/springframework/security/config/spring-security-6.0.rnc @@ -1124,7 +1124,7 @@ csrf-options.attlist &= ## The CsrfTokenRepository to use. The default is HttpSessionCsrfTokenRepository wrapped by LazyCsrfTokenRepository. attribute token-repository-ref { xsd:token }? csrf-options.attlist &= - ## The CsrfTokenRequestHandler to use. The default is CsrfTokenRepositoryRequestHandler. + ## The CsrfTokenRequestHandler to use. The default is CsrfTokenRequestAttributeHandler. attribute request-handler-ref { xsd:token }? headers = diff --git a/config/src/main/resources/org/springframework/security/config/spring-security-6.0.xsd b/config/src/main/resources/org/springframework/security/config/spring-security-6.0.xsd index 6d26042745..fc393ff737 100644 --- a/config/src/main/resources/org/springframework/security/config/spring-security-6.0.xsd +++ b/config/src/main/resources/org/springframework/security/config/spring-security-6.0.xsd @@ -3168,7 +3168,7 @@ - The CsrfTokenRequestHandler to use. The default is CsrfTokenRepositoryRequestHandler. + The CsrfTokenRequestHandler to use. The default is CsrfTokenRequestAttributeHandler.