Skip to content

Comments

feat : Public Key 기반 JWT 검증 필터 및 UserContext Resolver 구현#96

Merged
ekfrehd merged 2 commits intodevelopfrom
feature-93/decryption
Dec 20, 2025
Merged

feat : Public Key 기반 JWT 검증 필터 및 UserContext Resolver 구현#96
ekfrehd merged 2 commits intodevelopfrom
feature-93/decryption

Conversation

@ekfrehd
Copy link
Contributor

@ekfrehd ekfrehd commented Dec 19, 2025

🔍 PR 타입 선택

아래 타입 중 해당하는 하나를 선택해 주세요. 반드시 하나만 선택해 주세요.

  • feat: 새로운 기능 추가
  • fix: 버그 수정
  • docs: 문서 수정
  • style: 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우
  • refactor: 코드 리팩토링
  • test: 테스트 코드 추가 또는 수정
  • chore: 빌드 업무 수정, 패키지 매니저 수정 등 기타 작업

📝 변경 사항 요약

Auth 서비스의 로그인 및 JWT 토큰 발급 로직 구현에 기반한 Trip 서비스에 인증 필터를 연동

Filter: develop 브랜치의 Mock 필터(AuthenticationFilter) 대신, 실제 검증을 수행하는 JwtAuthenticationFilter를 적용
Resolver: 컨트롤러에서 사용자 정보를 쉽게 받을 수 있도록 UserContextArgumentResolver와 @WithUserContext 어노테이션 구현

  • 예: 사용자 프로필 페이지 추가
  • 예: 로그인 버그 수정

🛠 관련 이슈

Resolves: #95
Ref: #456
Related to: #48, #45
close: #번호

추가 설명 (선택 사항)

변경 사항에 대한 추가 설명을 작성해 주세요.

TueBack added 2 commits December 20, 2025 03:33
- Trip 서비스: Public Key 기반 JWT 검증 필터 및 UserContext Resolver 구현

- **Filter**: `JwtAuthenticationFilter`에서 Auth 서비스의 Public Key로 토큰 서명 검증
- **Resolver**: `@WithUserContext` 어노테이션을 통해 컨트롤러에 사용자 정보 주입 (`UserContextArgumentResolver`)
…ature-93/decryption

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@ekfrehd ekfrehd merged commit 14601bd into develop Dec 20, 2025
2 checks passed
@ekfrehd ekfrehd deleted the feature-93/decryption branch December 20, 2025 12:12
ekfrehd added a commit that referenced this pull request Dec 20, 2025
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.

RSA 기반 JWT 검증

1 participant