Jelajahi Sumber

Update csrf.request-handler-ref in 6.0

Issue gh-11918
Steve Riesenberg 2 tahun lalu
induk
melakukan
3bc76815c2

+ 1 - 1
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 =

+ 1 - 1
config/src/main/resources/org/springframework/security/config/spring-security-6.0.xsd

@@ -3168,7 +3168,7 @@
       </xs:attribute>
       <xs:attribute name="request-handler-ref" type="xs:token">
          <xs:annotation>
-            <xs:documentation>The CsrfTokenRequestHandler to use. The default is CsrfTokenRepositoryRequestHandler.
+            <xs:documentation>The CsrfTokenRequestHandler to use. The default is CsrfTokenRequestAttributeHandler.
                 </xs:documentation>
          </xs:annotation>
       </xs:attribute>