[refactor/#428] Auth / Security 컨텍스트 소유 표면 정리#435
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❤️ 기능 설명
Auth / Security 컨텍스트의 실제 소유 표면을
auth최상위 패키지로 정리했습니다.domain/auth를auth/{presentation,application,domain,infrastructure}구조로 승격KakaoLoginController/KakaoLoginService로 분리global/security의 JWT, OAuth/OIDC, filter, handler, config, cookie util, auth cache를auth/security아래로 회수SecurityContext가 남지 않도록SecurityContextHolder.clearContext()적용Swagger 테스트 성공 결과 스크린샷 첨부
연결된 issue
close #428
🩷 Approve 하기 전 확인해주세요!
auth/security를 Auth / Security 컨텍스트 내부의 앱 전역 인증/인가 shared kernel로 두는 구조로 결정했습니다.✅ 체크리스트
🧪 테스트 결과