| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 서블릿 컨테이너
- DLQ
- Dead Letter Queue
- JPQL
- 지연 로딩
- 스프링 부트
- dockerhub
- JPA
- docker
- mybatis
- securitycontextholderfilter
- DI
- Routing Key
- kafka
- JdbcTemplate
- 쿠버네티스
- CORS
- Web
- @ComponentScan
- docker compose
- JWT
- Spring
- Spring Container
- 컨테이너
- Spring Data JPA
- AWS
- MSA
- @Transactional
- 페이징
- redis
- Today
- Total
목록UserDetails (2)
look-forest
서블릿 필터 → 스프링 빈으로 시큐리티 로직 위임DelegatingFilterProxy와 FilterChainProxyDelegatingFilterProxy서블릿 필터 처리를 스프링에 들어있는 빈으로 위임하고 싶을 때 사용하는 서블릿 필터스프링 빈을 찾아 요청을 넘겨주는 서블릿 필터. 스프링 시큐리티 의존성을 추가하면 자동 추가된다.FilterChainProxy에게 시큐리티 관련 처리를 위임한다.타겟 빈 이름을 설정해야 하는데, 스프링 부트를 사용할 때는 자동으로 등록된다. (SecurityFilterAutoConfiguration)FilterChainProxyDelagatingFilterProxy에 의해 호출되는 SecurityFilterChain을 들고 있는 빈보통 “springSecurityFilt..
먼저 스프링 시큐리티 기본 구현 방법을 알아보자.스프링 시큐리티 사용법스프링 시큐리티 연동 스프링 시큐리티 의존성을 추가하고 나면 모든 요청은 인증을 필요로 하고,기본 로그인 페이지가 나타나며,기본 유저가 생성된다. (by UserDetailsServiceAutoConfiguration, SecurityProperties) 스프링 시큐리티 설정DefaultSecurityFilterChain이 아닌 커스텀 SecurityFilterChain를 등록하려면 아래와 같이 SecurityFilterChain 인터페이스를 반환하면 된다.@Configuration@EnableWebSecuritypublic class SecurityConfig { @Bean public SecurityFilterChain ..