728x90
스프링 시큐리티
-
Spring Security - 프로젝트 생성 및 환경설정Framework & Library/Spring Security 2021. 9. 30. 14:21
MySQL 사용자 및 DB생성 create user 'qlsdud'@'%' identified by 'qlsdud0604'; GRANT ALL PRIVILEGES ON *.* TO 'qlsdud'@'%'; create database security; use security; ㆍ 위에 sql 문을 차례대로 실행해서 사용자 및 DB를 생성한다. Spring Boot 프로젝트 생성 ㆍ 위 사진과 같은 의존성을 포함한 Spring Boot 프로젝트를 생성한다. application.yml 설정 server: port: 8080 servlet: context-path: / encoding: charset: UTF-8 enabled: true force: true spring: datasource: driver-..