반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- querydsl
- 프로그래머스
- nestjs
- 기술면접공부
- JPA
- 자료구조공부
- Axon framework
- 플러터 개발
- 코테준비
- JPA 공부
- K8S
- DDD
- 카프카
- 알고리즘공부
- 자바공부
- JPA스터디
- 스프링공부
- 스프링부트공부
- Flutter
- 플러터 공부
- Kafka
- 스프링부트
- 기술공부
- 스프링 공부
- 코테공부
- JPA예제
- 스프링
- JPA공부
- nestjs스터디
- nestjs공부
Archives
- Today
- Total
목록what is securityMatcher (1)
DevBoi
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/cQ313k/btszlmOUjhu/KciykMhlMXAWmKbC0z3EF0/img.png)
최근 진행 작업중, 특정 autorization path를 설정해도, 전체 path에 적용되어 모든 인가처리를 하게 되어 성능이 낮아지고 오류가 난적이있다. 그래서 해결한 방법 중 하나를 기록하려고한다. @Configuration public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { return http .authorizeHttpRequests((authorize) -> authorize .requestMatchers("/api/public").permitAll() .requestMatchers("/api/private").authenticated() .re..
Develop/[Spring_Security]
2023. 10. 28. 19:45