Security

목표 이 글에서는 스프링 시큐리티의 전체적인 구조와 같은 원론적인 내용보다는 기본 세팅에 대한 코드를 보여주고, 해당 코드들이 무슨 역할을 하는지를 위주로 설명합니다. spring security를 이용해 인증과 인가를 구현하고 현재 로그인된 정보를 이용해 thymeleaf에서 다른 화면을 보여주기까지 구현합니다. 로그인정보에 대한 데이터로서 DB까지 이용합니다. 순서는 다음과 같다' 개발환경 security 설정 동작 설명 개발환경 Springboot 2.7.8 H2 JPA thymeleaf spring security lombok build.gradle dependencies { //starter implementation 'org.springframework.boot:spring-boot-start..
한창희
'Security' 태그의 글 목록