Add SslHandlerFactory to NetconfClientConfiguration 54/69254/2
authorLiGuosheng <li.guosheng6@zte.com.cn>
Thu, 8 Mar 2018 08:40:15 +0000 (16:40 +0800)
committerJakubToth <jakub.toth@pantheon.tech>
Tue, 13 Mar 2018 10:15:07 +0000 (10:15 +0000)
commit401f9ee77a87da5096e1a369ce4ca9172819cf43
tree991c21e9cd61f3dfc996b90b26f36ef6cc7d9c02
parent523c395e95ca8ce8373344fd75cedf45890e41d2
Add SslHandlerFactory to NetconfClientConfiguration

If client protocol is TLS, then add a SslHandlerFactory instance to
NetconfClientConfiguration instead of SSH AuthenticationHandler.

Change-Id: Ie0d06a31e1cfca7f78dc0721a76b4995d69cd529
Signed-off-by: Li guosheng <li.guosheng6@zte.com.cn>
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/conf/NetconfClientConfiguration.java
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/conf/NetconfClientConfigurationBuilder.java
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/conf/NetconfReconnectingClientConfiguration.java
netconf/netconf-client/src/main/java/org/opendaylight/netconf/client/conf/NetconfReconnectingClientConfigurationBuilder.java
netconf/netconf-client/src/test/java/org/opendaylight/netconf/client/NetconfClientConfigurationTest.java
netconf/netconf-client/src/test/java/org/opendaylight/netconf/client/NetconfReconnectingClientConfigurationTest.java