Fix additional typos

Issue gh-11959
This commit is contained in:
Steve Riesenberg 2022-11-19 23:22:29 -06:00
parent 3d2be56249
commit e60eb87441
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@ WebFilter csrfCookieWebFilter() {
open fun securityWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
val tokenRepository = CookieServerCsrfTokenRepository.withHttpOnlyFalse()
val delegate = XorServerCsrfTokenRequestAttributeHandler()
// Use only the handle() method of XorCsrfTokenRequestAttributeHandler and the
// default implementation of resolveCsrfTokenValue() from CsrfTokenRequestHandler
// Use only the handle() method of XorServerCsrfTokenRequestAttributeHandler and the
// default implementation of resolveCsrfTokenValue() from ServerCsrfTokenRequestHandler
val requestHandler = ServerCsrfTokenRequestHandler(delegate::handle)
return http.invoke {
// ...