MP-210 ✨ Feat: 락아웃 메커니즘 구현#63
Merged
Reality-out merged 5 commits intodevelopfrom Jun 27, 2025
Merged
Conversation
Member
songu1
commented
Jun 26, 2025
- 락아웃 기능 구현
- failedAttempt, lockoutRefreshAt 관련 로직 삭제
- EncryptUtils 클래스 생성 - Redis Key의 토큰값을 해싱하기 위해 encryptWithSha256 메서드 생성 - token-blacklisting의 EncryptUtils와 동일한 클래스
- failedAttempt값을 저장하는 락아웃 redis 리포지토리 생성 - 기존 lockout_refresh_at을 ttl로 지정
- 로그인 성공, 실패 시 락아웃 처리 구현 - 실패횟수를 조회하는 메서드 구현
- LockOutRedisRepository, LockOutApplicationService에 대한 테스트 코드 구현
- 락아웃 기능에서 failedAttempt와 lockoutRefreshAt을 redis에 관리함에 따라 DB 컬럼 및 로직 삭제
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.