mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-18 09:47:12 +08:00
feat: update auth warn log
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user