feat: update auth warn log
This commit is contained in:
parent
a9d48f25f7
commit
3e0b6224f5
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue