본문 바로가기
백엔드/Spring Security

spring security WebIgnore

by 김어찐 2021. 12. 3.
728x90

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().requestMatchers(PathRequest.toStaticResources().atCommonLocations());
}
728x90

'백엔드 > Spring Security' 카테고리의 다른 글

Spring HTTPS 설정  (0) 2022.01.18
spring security user생성  (0) 2021.12.03
spring security 필터 다중 설정  (0) 2021.12.02
spring security csrfFilter  (0) 2021.12.02
spring security 예외처리  (0) 2021.12.02