springsecurity (1) 썸네일형 리스트형 [Spring Framework] Security 설정 및 원리 스프링 시큐리티 스프링 시큐리티는 필터체인으로 인증과 권한을 확인한다. 따라서 webApplicationContext에 설정을 할 경우 모든 bean이 생성되지 않은 상태에서 로딩이 되므로 에러가 발생한다. rootApplicationContext에 설정하여 우선적으로 bean이 만들어질 수 있도록 해야 한다. 설정방법은 다음과 같다. 파일명 : pom.xml org.springframework.security spring-security-core 4.1.3.RELEASE springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy springSecurityFilterChain /* config/app/SecurityConf.. 이전 1 다음