-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️refactor: 회원가입, 로그인, 토큰 재발급 수정 (#53)
- Loading branch information
Showing
16 changed files
with
97 additions
and
136 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
25 changes: 1 addition & 24 deletions
25
.../com/ddabong/ddabongdotchiBE/domain/security/jwt/exception/JwtFilterExceptionHandler.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1 @@ | ||
// package umc.springumc.security.jwt.exception; | ||
// | ||
// import com.fasterxml.jackson.databind.ObjectMapper; | ||
// | ||
// import jakarta.servlet.http.HttpServletResponse; | ||
// import lombok.extern.slf4j.Slf4j; | ||
// import umc.springumc.apiPayload.global.ApiResponse; | ||
// import umc.springumc.apiPayload.global.BaseErrorCode; | ||
// | ||
// @Slf4j | ||
// public class JwtFilterExceptionHandler { | ||
// public JwtFilterExceptionHandler(HttpServletResponse response, BaseErrorCode error) { | ||
// response.setStatus(Integer.parseInt(error.getCode())); | ||
// response.setContentType("application/json"); | ||
// response.setCharacterEncoding("UTF-8"); | ||
// try { | ||
// String json = new ObjectMapper().writeValueAsString( | ||
// ApiResponse.onFailure(error.getCode(), error.getMessage())); | ||
// response.getWriter().write(json); | ||
// } catch (Exception e) { | ||
// log.warn(e.getMessage()); | ||
// } | ||
// } | ||
// } | ||
package com.ddabong.ddabongdotchiBE.domain.security.jwt.exception; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.