the default implementation of the basic authentication filter should prompt again for username and password, if the authentication fails

This commit is contained in:
Sebastian Sdorra
2014-03-15 16:11:44 +01:00
parent 84d3cadb12
commit 54faa5cb56

View File

@@ -239,7 +239,8 @@ public class BasicAuthenticationFilter extends AutoLoginFilter
HttpServletResponse response) HttpServletResponse response)
throws IOException throws IOException
{ {
response.sendError(HttpServletResponse.SC_FORBIDDEN); HttpUtil.sendUnauthorized(request, response,
configuration.getRealmDescription());
} }
/** /**