mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-01 10:59:16 +00:00
Fix additional typos
Issue gh-11959
This commit is contained in:
parent
3d2be56249
commit
e60eb87441
@ -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 {
|
||||
// ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user