인증1 [Spring] Spring Security Spring Security프레임워크는 Spring서버에 필요한 인증 및 인가를 위해 많은 기능을 제공해 줌으로써 개발의 수고를 덜어준다. gradle.build에 추가 // Security implementation 'org.springframework.boot:spring-boot-starter-security' 스프링에서 모든 호출은 DispatcherServlet을 통과한뒤 각 요청에 맞는 컨트롤러로 뿌려진다. 이때 모든 요청에 대해 처리해야 할 필요가 있을때 DispatcherServlet이전 단계가 필요한데 이것이 Filter이다. Spring Security또한 인증 및 인가를 처리하는데 Filter를 사용하는데 Spring Security는 FilterChainProxy를 통해서 상세로직을.. 2023. 7. 1. 이전 1 다음