Conversation
|
Caution Review failedThe pull request is closed. Walkthrough
Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant JwtAuthorizationFilter
participant JwtUtil
participant CustomUserDetailService
participant SecurityContext
Client->>JwtAuthorizationFilter: HTTP 요청 (Authorization: Bearer {token})
JwtAuthorizationFilter->>JwtUtil: extractTokenFromRequest() 및 isExpired(token)
JwtUtil-->>JwtAuthorizationFilter: 토큰 만료 여부 반환
alt 토큰 유효 & AccessToken
JwtAuthorizationFilter->>JwtUtil: getUserId(token)
JwtUtil-->>JwtAuthorizationFilter: userId 반환
JwtAuthorizationFilter->>CustomUserDetailService: loadUserByUsername(userId)
CustomUserDetailService-->>JwtAuthorizationFilter: UserDetails 반환
JwtAuthorizationFilter->>SecurityContext: 인증 객체 설정
else 토큰 만료 또는 유효하지 않음
JwtAuthorizationFilter->>Client: 401 Unauthorized 응답
end
JwtAuthorizationFilter->>Client: 요청 처리 계속 (filterChain.doFilter)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 요약
cors 의존성 추가
Issue Link
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
신규 기능
기타