From: Maros Marsalek Date: Wed, 19 Nov 2014 08:39:45 +0000 (+0100) Subject: Set auth timeout along with idle in SshProxyServer X-Git-Tag: release/lithium~862^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=55669fa568150addedbf9f1836f0194df713df89 Set auth timeout along with idle in SshProxyServer Change-Id: I4d7de2ca3f5e2025856646b825040b79ca344f34 Signed-off-by: Maros Marsalek --- diff --git a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/SshProxyServer.java b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/SshProxyServer.java index 8728f0c671..20088fe876 100644 --- a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/SshProxyServer.java +++ b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/SshProxyServer.java @@ -72,6 +72,8 @@ public class SshProxyServer implements AutoCloseable { return new HashMap() {{ put(ServerFactoryManager.IDLE_TIMEOUT, String.valueOf(sshProxyServerConfiguration.getIdleTimeout())); + // TODO make auth timeout configurable on its own + put(ServerFactoryManager.AUTH_TIMEOUT, String.valueOf(sshProxyServerConfiguration.getIdleTimeout())); }}; }