-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
개요
심심해서 코드좀 보다가 발견했는데, FilterConfig클래스에 @Component
를 붙이고 SecurityConfig클래스에서 apply할때는 클래스를 생성자를 통해 생성하여 등록 하더라구요.
이러면 빈에 등록되는 의미가 있을까요?
Equus-User/src/main/kotlin/hs/kr/equus/user/global/security/FilterConfig.kt
Lines 12 to 15 in 96ba3ad
@Component | |
class FilterConfig( | |
private val objectMapper: ObjectMapper | |
) : SecurityConfigurerAdapter<DefaultSecurityFilterChain, HttpSecurity>() { |
Metadata
Metadata
Assignees
Labels
No labels