feat: update auth warn log

This commit is contained in:
vran 2022-03-05 11:03:56 +08:00
parent a9d48f25f7
commit 3e0b6224f5
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class DatabasirAuthenticationEntryPoint implements AuthenticationEntryPoi
public void commence(javax.servlet.http.HttpServletRequest request, public void commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletResponse response,
AuthenticationException authException) throws IOException, ServletException { AuthenticationException authException) throws IOException, ServletException {
log.warn("验证未通过. 提示信息 - {}", authException.getMessage()); log.warn("验证未通过. 提示信息 - {} - {}", request.getRequestURI(), authException.getMessage());
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, authException.getMessage()); response.sendError(HttpServletResponse.SC_UNAUTHORIZED, authException.getMessage());
} }