Skip to content

Commit

Permalink
refactor(HttpStatusCode): @PreAuthorize 권한 검사에서 권한이 부족한 경우 상태코드 403을 …
Browse files Browse the repository at this point in the history
…반환하도록 변경
  • Loading branch information
limehee committed Aug 16, 2024
1 parent 4a5b7f0 commit eff8a35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ public ErrorResponse<Exception> badRequestException(HttpServletResponse response
@ExceptionHandler({
AuthenticationInfoNotFoundException.class,
UnAuthorizeException.class,
AccessDeniedException.class,
LoginFailedException.class,
MemberLockedException.class,
BadCredentialsException.class,
Expand All @@ -128,6 +127,7 @@ public ApiResponse<Void> unAuthorizeException(HttpServletResponse response, Exce
}

@ExceptionHandler({
AccessDeniedException.class,
PermissionDeniedException.class,
InvalidBorrowerException.class,
})
Expand Down

0 comments on commit eff8a35

Please sign in to comment.