Skip to content

MP-210 ✨ Feat: 락아웃 메커니즘 구현#63

Merged
Reality-out merged 5 commits intodevelopfrom
MP-210-feature-lockout-mechanism
Jun 27, 2025
Merged

MP-210 ✨ Feat: 락아웃 메커니즘 구현#63
Reality-out merged 5 commits intodevelopfrom
MP-210-feature-lockout-mechanism

Conversation

@songu1
Copy link
Copy Markdown
Member

@songu1 songu1 commented Jun 26, 2025

  • 락아웃 기능 구현
  • failedAttempt, lockoutRefreshAt 관련 로직 삭제

songu1 added 5 commits June 26, 2025 17:54
- EncryptUtils 클래스 생성
- Redis Key의 토큰값을 해싱하기 위해 encryptWithSha256 메서드 생성
- token-blacklisting의 EncryptUtils와 동일한 클래스
- failedAttempt값을 저장하는 락아웃 redis 리포지토리 생성
- 기존 lockout_refresh_at을 ttl로 지정
- 로그인 성공, 실패 시 락아웃 처리 구현
- 실패횟수를 조회하는 메서드 구현
- LockOutRedisRepository, LockOutApplicationService에 대한 테스트 코드 구현
- 락아웃 기능에서 failedAttempt와 lockoutRefreshAt을 redis에 관리함에 따라 DB 컬럼 및 로직 삭제
@Reality-out Reality-out merged commit fccb6bb into develop Jun 27, 2025
@Reality-out Reality-out deleted the MP-210-feature-lockout-mechanism branch June 27, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants