accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1444079 - in /accumulo/branches/1.4: ./ src/ src/core/ src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java src/server/ src/server/src/
Date Fri, 08 Feb 2013 15:37:35 GMT
Author: ecn
Date: Fri Feb  8 15:37:35 2013
New Revision: 1444079

URL: http://svn.apache.org/r1444079
Log:
ACCUMULO-114 hide the tracer password if it is not set to the default

Modified:
    accumulo/branches/1.4/   (props changed)
    accumulo/branches/1.4/src/   (props changed)
    accumulo/branches/1.4/src/core/   (props changed)
    accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
    accumulo/branches/1.4/src/server/   (props changed)
    accumulo/branches/1.4/src/server/src/   (props changed)

Propchange: accumulo/branches/1.4/
------------------------------------------------------------------------------
  Merged /accumulo/trunk:r1444075

Propchange: accumulo/branches/1.4/src/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/src:r1444075
  Merged /accumulo/trunk:r1444075

Propchange: accumulo/branches/1.4/src/core/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/src/core:r1444075
  Merged /accumulo/trunk/core:r1444075

Modified: accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java?rev=1444079&r1=1444078&r2=1444079&view=diff
==============================================================================
--- accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
(original)
+++ accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
Fri Feb  8 15:37:35 2013
@@ -162,7 +162,7 @@ public class ConfigCommand extends Comma
         boolean printed = false;
         
         if (dfault != null && key.toLowerCase().contains("password")) {
-          dfault = curVal = curVal.replaceAll(".", "*");
+          siteVal = sysVal = dfault = curVal = curVal.replaceAll(".", "*");
         }
         if (sysVal != null) {
           if (defaults.containsKey(key)) {

Propchange: accumulo/branches/1.4/src/server/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/src/server:r1444075
  Merged /accumulo/trunk/server:r1444075

Propchange: accumulo/branches/1.4/src/server/src/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/server/src:r1444075
  Merged /accumulo/trunk/src/server/src:r1444075



Mime
View raw message