전역 공통 설정 모듈 추가 - #13
Conversation
There was a problem hiding this comment.
Code Review
This pull request sets up the global infrastructure for a Kotlin Spring Boot application, including configurations for Async, Jackson, Redis, Security, Swagger, and Web MVC, alongside custom JWT authentication and global exception handling. The reviewer provided highly valuable feedback to improve robustness and security: avoiding direct overriding of the ObjectMapper to preserve Spring Boot's default modules, expanding the Redis polymorphic type validator to allow standard Java collections, properly handling unauthorized exceptions in Spring Security to avoid issues with /error forwarding, strictly validating the Bearer prefix in the JWT filter, handling non-nullable parameters in the LoginUser resolver, and logging unexpected exceptions in the global handler.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
✨ 작업 내용
@LoginUserArgumentResolver와 보안 경로 정책을 추가하였습니다.🔍 리뷰 시 참고사항
BaseTimeEntity와@EnableJpaAuditing구현은 재사용하였습니다.JWT_SECRET은 환경변수에서 주입되도록 구성하였습니다.bearerAuth보안 스킴을 로컬 실행으로 확인하였습니다.✅ 체크리스트
.env.example등) 변경이 필요한 경우 작성 또는 수정했나요? (기존.env.example에JWT_SECRET이 있어 변경하지 않았습니다.)./gradlew test, Swagger UI 확인)develop)✨ Feature,✅ Test)📎 관련 이슈(선택)