728x90 예외처리2 spring security 예외처리 package io.security.basicsecurity; import org.springframework.context.annotation.Configuration; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.anno.. 2021. 12. 2. 스프링 서블릿 예외처리에 대한 로그 필터(필터 중복 호출 설정) 스프링 빈 등록 DispatcherType을 지정 package hello.exception; import hello.exception.filter.LogFilter; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import javax.servlet.DispatcherType; import java.. 2021. 10. 2. 이전 1 다음 728x90