📅  最后修改于: 2022-03-11 14:52:32.064000             🧑  作者: Mango
public void authWithHttpServletRequest(HttpServletRequest request, String username, String password) {
try {
request.login(username, password);
} catch (ServletException e) {
LOGGER.error("Error while login ", e);
}
}