Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused bean object #33

Open
LeagueLugas opened this issue Jun 12, 2024 · 1 comment
Open

Unused bean object #33

LeagueLugas opened this issue Jun 12, 2024 · 1 comment
Assignees

Comments

@LeagueLugas
Copy link
Member

개요

심심해서 코드좀 보다가 발견했는데, FilterConfig클래스에 @Component를 붙이고 SecurityConfig클래스에서 apply할때는 클래스를 생성자를 통해 생성하여 등록 하더라구요.
이러면 빈에 등록되는 의미가 있을까요?

@Component
class FilterConfig(
private val objectMapper: ObjectMapper
) : SecurityConfigurerAdapter<DefaultSecurityFilterChain, HttpSecurity>() {

@HyunSu1768 HyunSu1768 self-assigned this Jun 18, 2024
@HyunSu1768
Copy link
Member

엇 ! 실수인 것 같습니다
수정하도록 하겠습니다 감사합니다 ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants