mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 11:45:48 +02:00
the default implementation of the basic authentication filter should prompt again for username and password, if the authentication fails
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user