[feat] Spring Security 401·403 커스텀 예외 처리 추가#31
Open
seejaewook456-maker wants to merge 4 commits into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내용
SecurityConfig의 테스트용/api/**설정을 제거했습니다.COMMON_401_1,COMMON_403_1커스텀 에러 코드를 사용했습니다.deletedAt속성을 제거 했습니다.관련 이슈
작업 유형
요청 / 응답 예시
401 Response
{
"isSuccess": false,
"code": "COMMON_401_1",
"message": "인증이 필요합니다.",
"data": null
}
403 Response
{
"isSuccess": false,
"code": "COMMON_403_1",
"message": "해당 요청에 대한 접근 권한이 없습니다.",
"data": null
}