From eff8a35296c31f9e9670640aa39aeddc5d778214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=9C=EA=B4=80=ED=9D=AC?= Date: Fri, 16 Aug 2024 15:08:05 +0900 Subject: [PATCH] =?UTF-8?q?refactor(HttpStatusCode):=20@PreAuthorize=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EA=B2=80=EC=82=AC=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=EC=9D=B4=20=EB=B6=80=EC=A1=B1=ED=95=9C=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20=EC=83=81=ED=83=9C=EC=BD=94=EB=93=9C=20403?= =?UTF-8?q?=EC=9D=84=20=EB=B0=98=ED=99=98=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/clab/api/global/handler/GlobalExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java b/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java index 4122a6a64..c6172db15 100644 --- a/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java +++ b/src/main/java/page/clab/api/global/handler/GlobalExceptionHandler.java @@ -112,7 +112,6 @@ public ErrorResponse badRequestException(HttpServletResponse response @ExceptionHandler({ AuthenticationInfoNotFoundException.class, UnAuthorizeException.class, - AccessDeniedException.class, LoginFailedException.class, MemberLockedException.class, BadCredentialsException.class, @@ -128,6 +127,7 @@ public ApiResponse unAuthorizeException(HttpServletResponse response, Exce } @ExceptionHandler({ + AccessDeniedException.class, PermissionDeniedException.class, InvalidBorrowerException.class, })