From d24b2629db2641a7ad74889d39d2e9489314a504 Mon Sep 17 00:00:00 2001 From: tomatozil <70049994+tomatozil@users.noreply.github.com> Date: Fri, 21 Feb 2025 13:55:22 +0900 Subject: [PATCH 1/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 스프링 트랜잭션 글 추가 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fdf7ac7..e680721 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Consumer Server가 현재 JPA saveall로 구현되어있어, 6시간 지연되 - [메시지 큐 중에 Kafka를 도입한 이유 - 구체적으로 업로드 예정](https://github.com/Kernel360/KDEV3_monicar_BE/blob/develop/img/Kafa도입이유.md) - [Route53 동작이 제대로 안될 때가 있다.](https://github.com/Kernel360/blog/pull/131) - [SSE 응답이 계속 대기 중(Pending)으로 유지되는 문제](https://github.com/Kernel360/KDEV3_monicar_BE/wiki/SSE-%EC%9D%91%EB%8B%B5%EC%9D%B4-%EA%B3%84%EC%86%8D-%EB%8C%80%EA%B8%B0-%EC%A4%91(Pending)%EC%9C%BC%EB%A1%9C-%EC%9C%A0%EC%A7%80%EB%90%98%EB%8A%94-%EB%AC%B8%EC%A0%9C) +- [Spring Transaction ‐ Propagation.REQUIRES_NEW 를 써보며 - 수정 예정](https://github.com/Kernel360/KDEV3_monicar_BE/wiki/Spring-Transaction-%E2%80%90-Propagation.REQUIRES_NEW-%EB%A5%BC-%EC%8D%A8%EB%B3%B4%EB%A9%B0) ## 기술 세미나 - [확장가능한 시스템 설계 - 박수현](https://docs.google.com/presentation/d/179fQnnWuqpqkAJLTbvhTNh4YNEe4cjSUiS6bVxZVHAY/edit?usp=sharing) From 316e6944fd1b35a02313b2d5e37ca0021686dca1 Mon Sep 17 00:00:00 2001 From: tomatozil Date: Fri, 21 Feb 2025 13:59:07 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=A6=AC=ED=94=84=EB=A0=88=EC=8B=9C?= =?UTF-8?q?=20=ED=86=A0=ED=81=B0=20NPE=20=EC=97=90=EB=9F=AC=20=EB=B0=A9?= =?UTF-8?q?=EC=A7=80=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/controlcenter/common/util/JWTTokenValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monicar-control-center/src/main/java/org/controlcenter/common/util/JWTTokenValidator.java b/monicar-control-center/src/main/java/org/controlcenter/common/util/JWTTokenValidator.java index c1eb1cb..97211c8 100644 --- a/monicar-control-center/src/main/java/org/controlcenter/common/util/JWTTokenValidator.java +++ b/monicar-control-center/src/main/java/org/controlcenter/common/util/JWTTokenValidator.java @@ -26,7 +26,7 @@ public void validateTokens(String accessToken, String refreshToken) { throw new BusinessException(FORBIDDEN_ERROR); } - if (!redisUtil.getRefreshToken(extractUserIdFromAccessToken(refreshToken)).equals(refreshToken)) { + if (!refreshToken.equals(redisUtil.getRefreshToken(extractUserIdFromAccessToken(refreshToken)))) { throw new BusinessException(FORBIDDEN_ERROR); }