You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2016/01/04 13:54:50 UTC

[5/5] mina-sshd git commit: Fix moved FactoryManager configuration values location

Fix moved FactoryManager configuration values location


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/cbff09df
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/cbff09df
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/cbff09df

Branch: refs/heads/master
Commit: cbff09df70846cd215c7cab29d342f5d7a2cdd9d
Parents: 64806dc
Author: Lyor Goldstein <lg...@vmware.com>
Authored: Mon Jan 4 14:54:35 2016 +0200
Committer: Lyor Goldstein <lg...@vmware.com>
Committed: Mon Jan 4 14:54:35 2016 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/sshd/KeyReExchangeTest.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/cbff09df/sshd-core/src/test/java/org/apache/sshd/KeyReExchangeTest.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/test/java/org/apache/sshd/KeyReExchangeTest.java b/sshd-core/src/test/java/org/apache/sshd/KeyReExchangeTest.java
index 242e3b4..20ce10d 100644
--- a/sshd-core/src/test/java/org/apache/sshd/KeyReExchangeTest.java
+++ b/sshd-core/src/test/java/org/apache/sshd/KeyReExchangeTest.java
@@ -40,6 +40,7 @@ import org.apache.sshd.client.SshClient;
 import org.apache.sshd.client.channel.ChannelShell;
 import org.apache.sshd.client.channel.ClientChannel;
 import org.apache.sshd.client.session.ClientSession;
+import org.apache.sshd.common.FactoryManager;
 import org.apache.sshd.common.NamedFactory;
 import org.apache.sshd.common.PropertyResolverUtils;
 import org.apache.sshd.common.cipher.BuiltinCiphers;
@@ -51,7 +52,6 @@ import org.apache.sshd.common.session.SessionListener;
 import org.apache.sshd.common.subsystem.sftp.SftpConstants;
 import org.apache.sshd.common.util.SecurityUtils;
 import org.apache.sshd.common.util.io.NullOutputStream;
-import org.apache.sshd.server.ServerFactoryManager;
 import org.apache.sshd.server.SshServer;
 import org.apache.sshd.util.test.BaseTestSupport;
 import org.apache.sshd.util.test.JSchLogger;
@@ -97,13 +97,13 @@ public class KeyReExchangeTest extends BaseTestSupport {
     protected void setUp(long bytesLimit, long timeLimit, long packetsLimit) throws Exception {
         sshd = setupTestServer();
         if (bytesLimit > 0L) {
-            PropertyResolverUtils.updateProperty(sshd, ServerFactoryManager.REKEY_BYTES_LIMIT, bytesLimit);
+            PropertyResolverUtils.updateProperty(sshd, FactoryManager.REKEY_BYTES_LIMIT, bytesLimit);
         }
         if (timeLimit > 0L) {
-            PropertyResolverUtils.updateProperty(sshd, ServerFactoryManager.REKEY_TIME_LIMIT, timeLimit);
+            PropertyResolverUtils.updateProperty(sshd, FactoryManager.REKEY_TIME_LIMIT, timeLimit);
         }
         if (packetsLimit > 0L) {
-            PropertyResolverUtils.updateProperty(sshd, ServerFactoryManager.REKEY_PACKETS_LIMIT, packetsLimit);
+            PropertyResolverUtils.updateProperty(sshd, FactoryManager.REKEY_PACKETS_LIMIT, packetsLimit);
         }
 
         sshd.start();