merge with branch 1.x

This commit is contained in:
Sebastian Sdorra
2014-04-28 13:48:11 +02:00
17 changed files with 338 additions and 59 deletions

View File

@@ -87,7 +87,8 @@ public class HgBasicAuthenticationFilter extends BasicAuthenticationFilter
HttpServletResponse response)
throws IOException
{
if (HgUtil.isHgClient(request))
if (HgUtil.isHgClient(request)
&& (configuration.isLoginAttemptLimitEnabled()))
{
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
}