RestControllerAdvice를 이용한 에러 전역처리에서 Spring Security 이슈!

Untitled·2024년 7월 22일

Spring

목록 보기
10/12

아,,,

@RestControllerAdvice를 이용해 전역 예외 처리를 하고 있는데 Spring Security filter chain에서 난 에러는 전달되지 않아 애먹고 있었다.

대신 AuthenticationEntryPoint 를 이용하면 된다..ㅜ

profile
그저 그런 꾸준히 하고만 싶은 개발자 이야기

0개의 댓글