일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- WebSecurity
- ㅂ
- HttpSecurity
- WebConfigurerAdapter
- ㅇㅇㅇㄴㅇ
- securityconfig
- 스프링시큐리티
- Spring Security
- 스프링 #스프링 시큐리티 #spring security
- Session1이 그 모든 클라이언트의 저올
Archives
- Today
- Total
목록securityconfig (1)
다오의 개발일지
스프링 시큐리티 설정 파일 내부 구성 ver.5.7 이후, WebConfigurerAdapter 사용 안됨 문제
스프링 시큐리티는 5.4버전 이후 기존의 WebConfigurerAdapter를 상속받아 사용하지 않고 SecurityFilterChain Bean 방식으로 사용된다. SecurityFilterChain 기존의 WebSecurityConfigurerAdapter를 사용한 구성 방식에 대한 대안으로 제공되며, Spring Security의 필터 체인을 구성하기 위한 메커니즘이다. public class WebSecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http.build(); } } 내부에 들어가는 HttpSecurity객체는 HttpSecurity는 Spring Secur..
Spring/Spring Security
2024. 3. 8. 18:08