aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2015-10-11 01:15:08 +0200
committerIngo Bauersachs <ingo@jitsi.org>2015-10-11 01:18:48 +0200
commiteafab93cce7f73a144958e8cd9b991393fa689fb (patch)
treea3a6edd907557134101a7fe898a2c925518b05f6
parent58b24c9033c07640247c77c2d9075c0b4773f83b (diff)
downloadjitsi-upstream.zip
jitsi-upstream.tar.gz
jitsi-upstream.tar.bz2
Update FMJ and libjitsi (Closes #160)upstream
FMJ: r104 libjitsi: jitsi/libjitsi@9a1a4a7886991bb62dd629a434a31bf3b990d97a
-rw-r--r--lib/installer-exclude/fmj-1.0-SNAPSHOT.jarbin1139897 -> 1138198 bytes
-rw-r--r--lib/installer-exclude/libjitsi-1.0-SNAPSHOT.jarbin7703291 -> 7705340 bytes
-rw-r--r--src/net/java/sip/communicator/impl/configuration/JdbcConfigService.java31
3 files changed, 31 insertions, 0 deletions
diff --git a/lib/installer-exclude/fmj-1.0-SNAPSHOT.jar b/lib/installer-exclude/fmj-1.0-SNAPSHOT.jar
index b31e9d1..a9757b3 100644
--- a/lib/installer-exclude/fmj-1.0-SNAPSHOT.jar
+++ b/lib/installer-exclude/fmj-1.0-SNAPSHOT.jar
Binary files differ
diff --git a/lib/installer-exclude/libjitsi-1.0-SNAPSHOT.jar b/lib/installer-exclude/libjitsi-1.0-SNAPSHOT.jar
index 1436ff7..cf37b9e 100644
--- a/lib/installer-exclude/libjitsi-1.0-SNAPSHOT.jar
+++ b/lib/installer-exclude/libjitsi-1.0-SNAPSHOT.jar
Binary files differ
diff --git a/src/net/java/sip/communicator/impl/configuration/JdbcConfigService.java b/src/net/java/sip/communicator/impl/configuration/JdbcConfigService.java
index b16e2ea..7ba362e 100644
--- a/src/net/java/sip/communicator/impl/configuration/JdbcConfigService.java
+++ b/src/net/java/sip/communicator/impl/configuration/JdbcConfigService.java
@@ -22,6 +22,7 @@ import java.io.*;
import java.sql.*;
import java.sql.Statement;
import java.util.*;
+import java.util.regex.Pattern;
import org.jitsi.service.configuration.*;
import org.jitsi.service.fileaccess.*;
@@ -952,4 +953,34 @@ public final class JdbcConfigService
l.propertyChange(evt);
}
}
+
+ @Override
+ public void logConfigurationProperties(String excludePattern)
+ {
+ if (!logger.isInfoEnabled())
+ return;
+
+ Pattern exclusion = null;
+ if (!StringUtils.isNullOrEmpty(excludePattern))
+ {
+ exclusion = Pattern.compile(
+ excludePattern, Pattern.CASE_INSENSITIVE);
+ }
+
+ for (String p : getAllPropertyNames())
+ {
+ Object v = getProperty(p);
+
+ // Not sure if this can happen, but just in case...
+ if (v == null)
+ continue;
+
+ if (exclusion != null && exclusion.matcher(p).find())
+ {
+ v = "**********";
+ }
+
+ logger.info(p + "=" + v);
+ }
+ }
}