protected void configure(HttpSecurity http) throws Exception { http.exceptionHandling() .authenticationEntryPoint(authenticationEntryPoint()) // 인증실패 시 처리 .accessDeniedHandler(accessDeniedHandler()) // 인증실패 시 처리 }