인프런 커뮤니티 질문&답변
AuthenticationException은 어떤 경우에 발생하는지
작성
·
508
답변 1
0
백기선
지식공유자
자바독(Abstract superclass for all exceptions related to an Authentication object being invalid for whatever reason.)에 따르면 어떠한 이유로 인해서든, 인증 객체가 유효하지 않은 경우에 언제든 던질 수 있는 예외인데요. 스프링 시큐리티 내부에서 인증에 실패하면 기본적으로 이 예외가 발생합니다.





