스프링 시큐리티 핸들러(예외) 처리1 [Spring Security] 핸들러(예외) 처리 [400] AuthenticationFailureHandler (인증 실패 핸들러: 로그인 실패 핸드러) @Slf4j@RequiredArgsConstructorpublic class LoginFailHandler implements AuthenticationFailureHandler { private final ObjectMapper objectMapper; @Override public void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception) throws IOException, ServletException { lo.. 2024. 9. 2. 이전 1 다음