From 75e98559cccb30143c9f03ce377bd5b69a332ef2 Mon Sep 17 00:00:00 2001 From: Keon Date: Thu, 28 Nov 2024 19:59:13 +0900 Subject: [PATCH] refactor: for deploy --- .../authentication/filter/JwtAuthenticationFilter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/curateme/claco/authentication/filter/JwtAuthenticationFilter.java b/src/main/java/com/curateme/claco/authentication/filter/JwtAuthenticationFilter.java index f380a0d..3600d41 100644 --- a/src/main/java/com/curateme/claco/authentication/filter/JwtAuthenticationFilter.java +++ b/src/main/java/com/curateme/claco/authentication/filter/JwtAuthenticationFilter.java @@ -63,9 +63,9 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse SecurityContextHolder.getContext().setAuthentication(authentication); - // String refreshToken = jwtTokenUtil.extractRefreshToken(request).stream() - // .findAny() - // .orElseThrow(() -> new BusinessException(ApiStatus.REFRESH_TOKEN_NOT_FOUND)); + String refreshToken = jwtTokenUtil.extractRefreshToken(request).stream() + .findAny() + .orElseThrow(() -> new BusinessException(ApiStatus.REFRESH_TOKEN_NOT_FOUND)); response.setHeader("Authorization", GRANT_TYPE + accessToken);