From 37fa49b32da9eb007bb76ee043db44d583c25862 Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Fri, 7 Oct 2022 17:40:12 -0500 Subject: [PATCH] Polish gh-11952 --- .../org/springframework/security/config/web/servlet/CsrfDsl.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/src/main/kotlin/org/springframework/security/config/web/servlet/CsrfDsl.kt b/config/src/main/kotlin/org/springframework/security/config/web/servlet/CsrfDsl.kt index abedac40df..7edae6d3e2 100644 --- a/config/src/main/kotlin/org/springframework/security/config/web/servlet/CsrfDsl.kt +++ b/config/src/main/kotlin/org/springframework/security/config/web/servlet/CsrfDsl.kt @@ -34,6 +34,8 @@ import javax.servlet.http.HttpServletRequest * @property requireCsrfProtectionMatcher specify the [RequestMatcher] to use for * determining when CSRF should be applied. * @property sessionAuthenticationStrategy the [SessionAuthenticationStrategy] to use. + * @property csrfTokenRequestHandler the [CsrfTokenRequestHandler] to use for making + * the CSRF token available as a request attribute */ @SecurityMarker class CsrfDsl {