Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 코틀린
- JavaScript
- Eclipse
- GitHub
- 방법
- 오라클
- error
- 생성
- 프로그래머스
- 함수
- 자바
- 쿼리
- oracle
- IntelliJ
- jquery
- Git
- 스프링
- 시큐리티
- 넥사크로
- Java
- 알고리즘
- 에러
- mybatis
- Security
- JPA
- Spring
- kotlin
- db
- aws
- Vue
Archives
- Today
- Total
송민준의 개발노트
[Spring Security] Remember Me 본문
@Autowired
UserDetailsService memberService;
@Override
protected void configure(HttpSecurity http) throws Exception{
~~~
http.rememberMe()
.rememberMeParameter("remember-me") // default는 remember-me -> 커스텀 가능(체크박스와 이름 동일하게)
.tokenValiditySeconds(5000) // default는 14일, 현재 5000초 설정해놨음
.alwaysRemember(true) // default false, 기능이 활성화되지 않아도 항상 실행여부
.userDetailsService(memberService); // 확인해주는 클래스 넣어줌
~~~
}
동작과정
잘하는 개발자가 되고픈.... :: [Spring Security] Remember Me - 동작과정(도표)
song8420.tistory.com
'웹 > Spring Security' 카테고리의 다른 글
[Spring Security] 동시세션 제어 (0) | 2021.01.11 |
---|---|
[Spring Security] AnonymousAuthenticationFilter (0) | 2021.01.11 |
[Spring Security] Remember Me - 동작과정(도표) (0) | 2021.01.11 |
[Spring Security] Form Login 인증 API 흐름도 (0) | 2021.01.07 |
[Spring Security] Form Login 인증 API (0) | 2021.01.07 |