From 1a00f65f636ed4e068284b02a91a3f4de5bb5ae9 Mon Sep 17 00:00:00 2001 From: Anna-Jin Date: Fri, 15 Jul 2022 22:21:12 +0900 Subject: [PATCH] =?UTF-8?q?#30=20[Update]=20=EC=97=90=EB=9F=AC=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EB=B0=98=ED=99=98=20=EC=88=98=EC=A0=95=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../baechelin/oauth/exception/RestAuthenticationEntryPoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mpnp/baechelin/oauth/exception/RestAuthenticationEntryPoint.java b/src/main/java/com/mpnp/baechelin/oauth/exception/RestAuthenticationEntryPoint.java index 5814fd5..739e2b8 100644 --- a/src/main/java/com/mpnp/baechelin/oauth/exception/RestAuthenticationEntryPoint.java +++ b/src/main/java/com/mpnp/baechelin/oauth/exception/RestAuthenticationEntryPoint.java @@ -20,7 +20,7 @@ public void commence( HttpServletResponse response, AuthenticationException authException ) throws IOException { - Integer exception = (Integer)request.getAttribute("exception"); + String exception = (String)request.getAttribute("javax.servlet.error.exception"); if(exception == null) { setResponse(response, ErrorCode.FAILED_MESSAGE);