[Spring] 스프링 시큐리티란 ? / 시큐리티 기본 설정 / 예시
시큐리티란 ? - 사용자의 로그인과 세션 트래킹은 웹 애플리케이션에서 필수적인 기능 스프링 시큐리티의 기본 설정 프로젝트 내 pom.xml 파일에 관련 의존성 라이브러리를 추가한다. org.springframework.boot spring-boot-starter-security org.thymeleaf.extras thymeleaf-extras-springsecurity6 기존의 config 패키지에 SecurityConfig.java 클래스를 추가하여 import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.configuration.EnableWeb..
Backend/Spring
2023. 12. 11. 22:01