|
|
|
|
@ -19,11 +19,8 @@ DefaultSecurityFilterChain springSecurity(HttpSecurity http) throws Exception {
@@ -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 {
@@ -32,7 +29,6 @@ class SecurityConfig {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return http.build() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|