mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-11-02 07:38:57 +00:00
Polish RequestCache continue Kolin Configuration
Issue gh-12089
This commit is contained in:
parent
aac1261f0c
commit
5721b0351e
@ -19,9 +19,6 @@ DefaultSecurityFilterChain springSecurity(HttpSecurity http) throws Exception {
|
|||||||
.Kotlin
|
.Kotlin
|
||||||
[source,kotlin,role="secondary"]
|
[source,kotlin,role="secondary"]
|
||||||
----
|
----
|
||||||
@EnableWebSecurity
|
|
||||||
class SecurityConfig {
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
open fun springSecurity(http: HttpSecurity): SecurityFilterChain {
|
open fun springSecurity(http: HttpSecurity): SecurityFilterChain {
|
||||||
val httpRequestCache = HttpSessionRequestCache()
|
val httpRequestCache = HttpSessionRequestCache()
|
||||||
@ -33,7 +30,6 @@ class SecurityConfig {
|
|||||||
}
|
}
|
||||||
return http.build()
|
return http.build()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
----
|
----
|
||||||
|
|
||||||
.XML
|
.XML
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user