inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

imddu님의 게시글

imddu imddu

@imddu

수강평 작성수
-
평균평점
-

게시글 2

질문&답변

안녕하세요 선생님~ AuthenticationEntryPoint 관련하여 질문 있습니다!

commence 함수 안에서 request.getRequestURL() 을 찍어보니 localhost:8080/error 를 찍습니다. authException은 org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource 을 찍구요. SecurityConfig에서 permitALL()로 지정한 API, 지정하지 않은 API 모두 개발자도구만 키면 위처럼 나오고 있습니다. 다만 토큰값이 유효한 경우는 위처럼 commence 함수에 들어가도 리다이렉트를 하지 않습니다.

좋아요수
0
댓글수
4
조회수
2123