Skip to content

feat : 일반 로그인 및 JWT 인증/인가 기능 구현#9

Merged
DongHyeonka merged 2 commits intoSynapsesa:developfrom
DongHyeonka:feature/local-login
Jun 16, 2025
Merged

feat : 일반 로그인 및 JWT 인증/인가 기능 구현#9
DongHyeonka merged 2 commits intoSynapsesa:developfrom
DongHyeonka:feature/local-login

Conversation

@DongHyeonka
Copy link
Contributor

📌 관련 이슈

✨ PR 작업 내용

주요 변경 사항:

  • SecurityConfig: AuthenticationManager, JwtAuthenticationFilter, PasswordEncoder 등 핵심 보안 설정을 구성하고 필터 체인에 적용
  • JWT 기반 인증 필터(JwtAuthenticationFilter) 및 관련 핸들러(LoginSuccess/FailureHandler) 추가
  • JWT 생성 및 관리를 위한 서비스(JwtTokenService, JwtTokenTemplate) 및 DTO(TokenResponse, TokenResult) 구현
  • 인증 객체로 사용될 PrincipalUser, ProviderUser 등 도메인 모델 정의
  • 모든 엔티티의 기본 키(ID) 타입을 Long에서 UUID로 변경하여 확장성 확보
  • 변경된 보안 설정 및 의존성을 테스트 코드(AccountControllerTest)에 반영

이미지 첨부


다음 할 일

  • 다음으로 할 일을 작성해 주세요.

주요 변경 사항:
- SecurityConfig: AuthenticationManager, JwtAuthenticationFilter, PasswordEncoder 등 핵심 보안 설정을 구성하고 필터 체인에 적용
- JWT 기반 인증 필터(JwtAuthenticationFilter) 및 관련 핸들러(LoginSuccess/FailureHandler) 추가
- JWT 생성 및 관리를 위한 서비스(JwtTokenService, JwtTokenTemplate) 및 DTO(TokenResponse, TokenResult) 구현
- 인증 객체로 사용될 PrincipalUser, ProviderUser 등 도메인 모델 정의
- 모든 엔티티의 기본 키(ID) 타입을 Long에서 UUID로 변경하여 확장성 확보
- 변경된 보안 설정 및 의존성을 테스트 코드(AccountControllerTest)에 반영
@DongHyeonka DongHyeonka self-assigned this Jun 16, 2025
@DongHyeonka DongHyeonka merged commit 6e22d00 into Synapsesa:develop Jun 16, 2025
1 check passed
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