728x90 세션2 spring security 세션 package io.security.basicsecurity; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configura.. 2021. 12. 1. 스프링 로그인(쿠키, 세션) 로그인 컨트롤러 import hello.login.domain.login.LoginService; import hello.login.domain.member.Member; import hello.login.web.SessionConst; import hello.login.web.session.SessionManager; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.springframework.validation.anno.. 2021. 9. 30. 이전 1 다음 728x90