[SpringBoot] 스프링부트 프로젝트 시작하기 - 5. Security 설정하고 로그인 확인하기
·
Spring
버전SpringBoot 3.3.0Java 17JWT 0.12.5목표SpringSecurity + JWT 적용하기토큰을 통해 인가된 사용자 구분하기Deprecated 된 함수 사용하지 않기구현SecuriryConfigpackage com.study.springStarter.common.authority;import lombok.RequiredArgsConstructor;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.security.config.annotation.web.builders.HttpSecurity;..