mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +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 {
|
open fun securityWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
|
||||||
val tokenRepository = CookieServerCsrfTokenRepository.withHttpOnlyFalse()
|
val tokenRepository = CookieServerCsrfTokenRepository.withHttpOnlyFalse()
|
||||||
val delegate = XorServerCsrfTokenRequestAttributeHandler()
|
val delegate = XorServerCsrfTokenRequestAttributeHandler()
|
||||||
// Use only the handle() method of XorCsrfTokenRequestAttributeHandler and the
|
// Use only the handle() method of XorServerCsrfTokenRequestAttributeHandler and the
|
||||||
// default implementation of resolveCsrfTokenValue() from CsrfTokenRequestHandler
|
// default implementation of resolveCsrfTokenValue() from ServerCsrfTokenRequestHandler
|
||||||
val requestHandler = ServerCsrfTokenRequestHandler(delegate::handle)
|
val requestHandler = ServerCsrfTokenRequestHandler(delegate::handle)
|
||||||
return http.invoke {
|
return http.invoke {
|
||||||
// ...
|
// ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user