mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-18 17:56:59 +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,
|
||||
javax.servlet.http.HttpServletResponse response,
|
||||
AuthenticationException authException) throws IOException, ServletException {
|
||||
log.warn("验证未通过. 提示信息 - {}", authException.getMessage());
|
||||
log.warn("验证未通过. 提示信息 - {} - {}", request.getRequestURI(), authException.getMessage());
|
||||
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, authException.getMessage());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user