http.exceptionHandling()
.defaultAuthenticationEntryPointFor(new HttpStatusEntryPoint(HttpStatus.UNAUTHORIZED),
new AntPathRequestMatcher("/api/**"));

'프로젝트' 카테고리의 다른 글
| My Record - OAuth2 카카오 도전기! 리팩토링 1편 (0) | 2025.04.14 |
|---|---|
| My Record 만들기 -에러 처리 가이드 (0) | 2025.04.09 |
| My Record - AWS Elastic Beanstalk 배포 중 build 실패 대처 (0) | 2025.04.08 |
| My Record - OAuth2 handler가 동작하지 않는 에러 (0) | 2025.04.03 |
| My Record - jwt인증과 전체 필터 흐름과 config 뜯어보기 (0) | 2025.04.01 |