최근 새프로제그를 만들고
WebSecurityConfigurerAdapter가 디클라인이 된걸 확인 하였다

https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter
Spring Security without the WebSecurityConfigurerAdapter
<p>In Spring Security 5.7.0-M2 we <a href="https://github.com/spring-projects/spring-security/issues/10822">deprecated</a> the <code>WebSecurityConfigurerAdapter</code>, as we encourage users to move towards a component-based security configuration.</p> <p
spring.io
글을 참고해서 만들었다
별 다른건 없다

void->SecurityFilterChain 리턴해주는 bean을 등록하면된다
'Springboot > Security' 카테고리의 다른 글
Spring 3.x이상 UserDetailsService 여러개 사용하기 (0) | 2024.05.07 |
---|---|
Springboot Security 2.7.+ 에서 authenticationManagerBean (0) | 2022.07.07 |