Class PublicKeyAuth
- java.lang.Object
-
- org.opendaylight.netconf.nettyutil.handler.ssh.authentication.AuthenticationHandler
-
- org.opendaylight.netconf.nettyutil.handler.ssh.authentication.LoginPasswordHandler
-
- org.opendaylight.netconf.nettyutil.handler.ssh.authentication.PublicKeyAuth
-
public class PublicKeyAuth extends LoginPasswordHandler
Represents Auth information for the public key based authentication for netconf.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.netconf.nettyutil.handler.ssh.authentication.LoginPasswordHandler
password, username
-
-
Constructor Summary
Constructors Constructor Description PublicKeyAuth(String username, String password, String keyPath, String passPhrase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.client.future.AuthFutureauthenticate(org.apache.sshd.client.session.ClientSession session)-
Methods inherited from class org.opendaylight.netconf.nettyutil.handler.ssh.authentication.LoginPasswordHandler
getUsername
-
-
-
-
Method Detail
-
authenticate
public org.apache.sshd.client.future.AuthFuture authenticate(org.apache.sshd.client.session.ClientSession session) throws IOException- Overrides:
authenticatein classLoginPasswordHandler- Throws:
IOException
-
-