JDBCAuthentication1 [SpringBoot] 스프링 시큐리티 사용하기 기존의 스프링 레거시 프로젝트에서 스프링 시큐리티를 사용할때, 직접 configuration xml 파일 설정을 통해 시큐리티 설정을 xml방식으로 설정해주었다. 스프링부트 3.x.x이후 버전에서 스프링 시큐리티를 통해 로그인 및 접근 권한을 더 간편하게 할 수있다. 스프링 시큐리티 디펜던시 추가 Java 클래스 WebSecurityConfig를 통한 시큐리티 설정 package com.boot.board_240214.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.anno.. 2024. 2. 16. 이전 1 다음