- /**
- * Set authentication handler. Used for SSH authentication.
- *
- * @param authHandler authentication handler
- * @return current builder instance
- * @deprecated due to design change. Only used with NetconfClientDispatcher,
- * ignored when building configuration for {@link org.opendaylight.netconf.client.NetconfClientFactory} which
- * expects SSH transport overlay configuration via {@link #withSshParameters(SshClientGrouping)}
- */
- @Deprecated
- @SuppressWarnings("checkstyle:hiddenField")
- public NetconfClientConfigurationBuilder withAuthHandler(final AuthenticationHandler authHandler) {
- this.authHandler = authHandler;
- return this;
- }
-
- /**
- * Set SSL Handler factory.
- *
- * @param sslHandlerFactory ssh handler instance
- * @return current builder instance
- * @deprecated due to design change. Only used with NetconfClientDispatcher,
- * ignored when building configuration for {@link org.opendaylight.netconf.client.NetconfClientFactory} which
- * expects TLS transport overlay configuration via {@link #withTlsParameters(TlsClientGrouping)}
- */
- @Deprecated
- @SuppressWarnings("checkstyle:hiddenField")
- public NetconfClientConfigurationBuilder withSslHandlerFactory(final SslHandlerFactory sslHandlerFactory) {
- this.sslHandlerFactory = sslHandlerFactory;
- return this;
- }
-
- /**
- * Set SSH client instance for use as SSH transport overlay.
- *
- * @param sshClient ssh client instance
- * @return current builder instance
- * @deprecated due to design change. Only used with NetconfClientDispatcher,
- * ignored when building configuration for {@link org.opendaylight.netconf.client.NetconfClientFactory} which
- * expects SSH transport overlay configuration via {@link #withSshParameters(SshClientGrouping)}
- */
- @Deprecated
- @SuppressWarnings("checkstyle:hiddenField")
- public NetconfClientConfigurationBuilder withSshClient(final NetconfSshClient sshClient) {
- this.sshClient = sshClient;
- return this;
- }
-