Merge "Set auth timeout along with idle in SshProxyServer"
authorTony Tkacik <ttkacik@cisco.com>
Thu, 20 Nov 2014 09:06:09 +0000 (09:06 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 20 Nov 2014 09:06:10 +0000 (09:06 +0000)
opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/SshProxyServer.java

index 8728f0c671cf558dabaeb4af209c82fdaf9877fa..20088fe87603f353fcd560f81e1e1b55e0d2855b 100644 (file)
@@ -72,6 +72,8 @@ public class SshProxyServer implements AutoCloseable {
         return new HashMap<String, String>()
         {{
             put(ServerFactoryManager.IDLE_TIMEOUT, String.valueOf(sshProxyServerConfiguration.getIdleTimeout()));
+            // TODO make auth timeout configurable on its own
+            put(ServerFactoryManager.AUTH_TIMEOUT, String.valueOf(sshProxyServerConfiguration.getIdleTimeout()));
         }};
     }