File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed
docs/modules/ROOT/partials/servlet/architecture Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,16 @@ DefaultSecurityFilterChain springSecurity(HttpSecurity http) throws Exception {
19
19
.Kotlin
20
20
[source,kotlin,role="secondary"]
21
21
----
22
- @EnableWebSecurity
23
- class SecurityConfig {
24
-
25
- @Bean
26
- open fun springSecurity(http: HttpSecurity): SecurityFilterChain {
27
- val httpRequestCache = HttpSessionRequestCache()
28
- httpRequestCache.setMatchingRequestParameterName("continue")
29
- http {
30
- requestCache {
31
- requestCache = httpRequestCache
32
- }
33
- }
34
- return http.build()
35
- }
22
+ @Bean
23
+ open fun springSecurity(http: HttpSecurity): SecurityFilterChain {
24
+ val httpRequestCache = HttpSessionRequestCache()
25
+ httpRequestCache.setMatchingRequestParameterName("continue")
26
+ http {
27
+ requestCache {
28
+ requestCache = httpRequestCache
29
+ }
30
+ }
31
+ return http.build()
36
32
}
37
33
----
38
34
You can’t perform that action at this time.
0 commit comments