From: James Moger Date: Sat, 18 Jun 2011 13:24:34 +0000 (-0400) Subject: Don't show all credentials in debug log, only failures. X-Git-Tag: v0.5.0~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=767eb537d28dccf73c78796b7d6dd27fe7073d66;p=gitblit.git Don't show all credentials in debug log, only failures. --- diff --git a/src/com/gitblit/AccessRestrictionFilter.java b/src/com/gitblit/AccessRestrictionFilter.java index 625eaa99..e3dcc62e 100644 --- a/src/com/gitblit/AccessRestrictionFilter.java +++ b/src/com/gitblit/AccessRestrictionFilter.java @@ -118,9 +118,6 @@ public abstract class AccessRestrictionFilter implements Filter { String base64Credentials = authorization.substring(BASIC.length()).trim(); String credentials = new String(Base64.decode(base64Credentials), Charset.forName("UTF-8")); - if (GitBlit.isDebugMode()) { - logger.info(MessageFormat.format("AUTH: {0} ({1})", authorization, credentials)); - } // credentials = username:password final String[] values = credentials.split(":");