스프링 시큐리티 설정 중에
//패턴을 이용해서 접근막음
@Override
protected void configure(HttpSecurity http) throws Exception {}
//위에서 적용한 패턴의 제외한 접근 - 정적리소스, HTML 파일 허용처리
@Override
public void configure(WebSecurity web) throws Exception {}
HttpSecurity, WebSecurity 차이가 궁금했는데
실제로 사용 하는 것은
HttpSecurity 패턴은 보안처리
WebSecurity 패턴은 보안예외처리(정적리소스, HTML)
'JAVA > SOURCECODE' 카테고리의 다른 글
JSON String to VO object (0) | 2021.08.31 |
---|---|
jar 실행시 build 위치 추가 (0) | 2021.03.02 |
윈도우 Active Directory 연동 (0) | 2019.11.01 |
REST API DOCS 응용 (0) | 2019.10.29 |
REST API DOCS (0) | 2019.10.29 |