이전글
https://cordingmonster.tistory.com/252
2.7. + 버전에서 시큐리티 사용하기
최근 새프로제그를 만들고 WebSecurityConfigurerAdapter가 디클라인이 된걸 확인 하였다 https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter In Spring Security 5.7..
cordingmonster.tistory.com
AuthenticationManager bean등록 방식도 바뀌었다
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
같은 글 댓글을 보면 알 수있다
찾던 질문이다
선언해주고
이미 사용중인 필터 or 사용예정인 필터에
authenticationManager(authenticationConfiguration)로 파라미터를 넣으면된다
'Springboot > Security' 카테고리의 다른 글
Spring 3.x이상 UserDetailsService 여러개 사용하기 (0) | 2024.05.07 |
---|---|
Springboot Security 2.7. + 버전 WebSecurityConfigurerAdapter (0) | 2022.07.07 |