Spring/SpringSecurity2 [spring / spring security] 02-1. 구글 연동 및 시큐리티 설정 build.gradle에 의존성 추가 implement 'org.springframework.boot:spring-boot-starter-oauth2-client' spring-boot-starter-oauth2-client 소셜 로그인 등 클라이언트 입장에서 소셜 기능 구현시 필요한 의존성이다. spring-security-oauth2-client 와 spring-security-oauth2-jose를 기본적으로 관리한다. config.auth패키지 생성 @EnableWebSecurity - spring security 설정들을 활성화시켜준다. @csrf().disable().headers().frameOptions().disable() - h2-console화면을 사용하기 위해ㅐ 해당 옵션들을 dis.. 2022. 9. 14. [Spring / Spring Security] 01. 스프링 시큐리티 개요 및 특징, 방법 개요 Sping Security : 인증, 인가 기능을 가진 프레임워크 : 보안을 위한 표준이라고 생각 Spring Security ↔ 인터셉터, 필터 기반 보안 기능 구현 공식문서 : https://spring.io/projects/spring-security Spring Security Spring Security is a framework that focuses on providing both authentication and authorization to Java applications. Like all Spring projects, the real power of Spring Security is found in how easily it can be extended to meet custom r.. 2022. 9. 12. 이전 1 다음