Polish RequestCache continue Kolin Configuration
Issue gh-12089
This commit is contained in:
parent
aac1261f0c
commit
5721b0351e
|
@ -19,11 +19,8 @@ DefaultSecurityFilterChain springSecurity(HttpSecurity http) throws Exception {
|
|||
.Kotlin
|
||||
[source,kotlin,role="secondary"]
|
||||
----
|
||||
@EnableWebSecurity
|
||||
class SecurityConfig {
|
||||
|
||||
@Bean
|
||||
open fun springSecurity(http: HttpSecurity): SecurityFilterChain {
|
||||
@Bean
|
||||
open fun springSecurity(http: HttpSecurity): SecurityFilterChain {
|
||||
val httpRequestCache = HttpSessionRequestCache()
|
||||
httpRequestCache.setMatchingRequestParameterName("continue")
|
||||
http {
|
||||
|
@ -32,7 +29,6 @@ class SecurityConfig {
|
|||
}
|
||||
}
|
||||
return http.build()
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in New Issue