Clean up AuthenticationHandler 07/108607/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 23 Oct 2023 22:22:36 +0000 (00:22 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 24 Oct 2023 11:41:50 +0000 (11:41 +0000)
We do not have an import conflict anymore, make things a tad more
concise.

Change-Id: I424cf907412bf1e01563bc863d5d56617c4be9d1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/AuthenticationHandler.java

index 0004e85daa504d2e81cea1e25c36cf78db23a2e9..ed7a4065aa62474e6617f88c84805e8310e5448f 100644 (file)
@@ -5,10 +5,10 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.netconf.nettyutil.handler.ssh.authentication;
 
 import java.io.IOException;
+import org.opendaylight.netconf.shaded.sshd.client.future.AuthFuture;
 import org.opendaylight.netconf.shaded.sshd.client.session.ClientSession;
 
 /**
@@ -18,6 +18,5 @@ public abstract class AuthenticationHandler {
 
     public abstract String getUsername();
 
-    public abstract org.opendaylight.netconf.shaded.sshd.client.future.AuthFuture authenticate(ClientSession session)
-            throws IOException;
+    public abstract AuthFuture authenticate(ClientSession session) throws IOException;
 }