File tree 2 files changed +4
-0
lines changed
reactive/webflux/kotlin/hello-security/src/main/kotlin/example
servlet/spring-boot/kotlin/hello-security/src/main/kotlin/org/springframework/security/samples/config
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 17
17
package example
18
18
19
19
import org.springframework.context.annotation.Bean
20
+ import org.springframework.context.annotation.Configuration
20
21
import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity
21
22
import org.springframework.security.config.web.server.ServerHttpSecurity
22
23
import org.springframework.security.config.web.server.invoke
@@ -25,6 +26,7 @@ import org.springframework.security.core.userdetails.ReactiveUserDetailsService
25
26
import org.springframework.security.core.userdetails.User
26
27
import org.springframework.security.web.server.SecurityWebFilterChain
27
28
29
+ @Configuration
28
30
@EnableWebFluxSecurity
29
31
class SecurityConfiguration {
30
32
Original file line number Diff line number Diff line change 17
17
package org.springframework.security.samples.config
18
18
19
19
import org.springframework.context.annotation.Bean
20
+ import org.springframework.context.annotation.Configuration
20
21
import org.springframework.security.config.annotation.web.builders.HttpSecurity
21
22
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
22
23
import org.springframework.security.core.userdetails.User
@@ -27,6 +28,7 @@ import org.springframework.security.web.SecurityFilterChain
27
28
/* *
28
29
* @author Eleftheria Stein
29
30
*/
31
+ @Configuration
30
32
@EnableWebSecurity
31
33
class SecurityConfig {
32
34
You can’t perform that action at this time.
0 commit comments