Skip to content

refactor: SecurityConfig 및 JwtAuthenticationValidationFilter 리팩토링 #23

Merged
popeye0618 merged 2 commits into
mainfrom
feat/member-withdrawal-policy
May 14, 2026
Merged

refactor: SecurityConfig 및 JwtAuthenticationValidationFilter 리팩토링 #23
popeye0618 merged 2 commits into
mainfrom
feat/member-withdrawal-policy

Conversation

@popeye0618

@popeye0618 popeye0618 commented May 14, 2026

Copy link
Copy Markdown
Contributor

📌 작업 개요

SecurityConfig 및 JwtAuthenticationValidationFilter 리팩토링
JwtAuthenticationValidationFilter 및 MemberStatusJwtAuthenticatonValidator 테스트 추가

🔗 관련 이슈

  • Closes #

✨ 변경 사항

  • 사용되지 않는 import(BcryptPasswordEncoder, PasswordEncoder 등) 제거
  • JwtAuthenticationValidationFilter를 open class로 변경하여 상속 가능하도록 수정
  • 불필요한 import 삭제(kotlin.jvm.java)로 코드 정리
  • JwtAuthenticationValidationFilter의 필터 동작 시나리오 단위 테스트 작성
  • Jwt 인증 실패, 검증기 미통과 시 처리 로직 검증 테스트 작성
  • MemberStatusJwtAuthenticationValidator의 회원 상태 유효성 검증 테스트 추가
  • 테스트에서 Mocked Repository 기반 동작 확인 및 검증 로직 보완

🧪 테스트

  • 단위 테스트 추가/수정
  • 로컬에서 동작 확인

✅ 체크리스트

  • 브랜치명이 Git Flow 컨벤션을 따릅니다 (feature/, fix/, hotfix/ 등)
  • 커밋 메시지가 Conventional Commits 컨벤션을 따릅니다
  • 리뷰 가능한 단위로 작업을 분리했습니다
  • 관련 문서를 업데이트했습니다 (필요 시)

💬 리뷰어에게

@codex

- 사용되지 않는 import(BcryptPasswordEncoder, PasswordEncoder 등) 제거
- JwtAuthenticationValidationFilter를 open class로 변경하여 상속 가능하도록 수정
- 불필요한 import 삭제(kotlin.jvm.java)로 코드 정리
…onValidator 테스트 추가

- JwtAuthenticationValidationFilter의 필터 동작 시나리오 단위 테스트 작성
- Jwt 인증 실패, 검증기 미통과 시 처리 로직 검증 테스트 작성
- MemberStatusJwtAuthenticationValidator의 회원 상태 유효성 검증 테스트 추가
- 테스트에서 Mocked Repository 기반 동작 확인 및 검증 로직 보완
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@popeye0618
popeye0618 merged commit ccb0635 into main May 14, 2026
1 check passed
@popeye0618
popeye0618 deleted the feat/member-withdrawal-policy branch May 14, 2026 00:56
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.

1 participant