Skip to content

Commit

Permalink
[LOG] 필터 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
tidavid1 committed Mar 20, 2024
1 parent 2dbd2d4 commit 31bb213
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
String accessToken =
request.getHeader(header) != null ? URLDecoder.decode(request.getHeader(header),
StandardCharsets.UTF_8) : null;
log.debug("accessToken: {}", accessToken);
if (accessToken == null || !accessToken.contains(IDENTIFICATION_TYPE)) {
request.setAttribute("exception", new JWTVerificationException("Invalid token type"));
} else {
Expand Down

0 comments on commit 31bb213

Please sign in to comment.