public class Ssh2PublicKeyAuthentication extends PublicKeyAuthentication implements AuthenticationClient
CANCELLED, COMPLETE, FAILED, FURTHER_AUTHENTICATION_REQUIRED, PUBLIC_KEY_ACCEPTABLE| Constructor and Description |
|---|
Ssh2PublicKeyAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationProtocol authentication,
String servicename)
Perform the authentication according to the specification.
|
void |
setSignatureGenerator(SignatureGenerator generator)
Set the signature generator for this authentication attempt.
|
getMethod, getPrivateKey, getPublicKey, getUsername, isAuthenticating, setAuthenticating, setPrivateKey, setPublicKey, setUsernameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMethod, getUsername, setUsernamepublic void authenticate(AuthenticationProtocol authentication, String servicename) throws SshException, AuthenticationResult
AuthenticationClientauthenticate in interface AuthenticationClientAuthenticationResultSshExceptionpublic void setSignatureGenerator(SignatureGenerator generator)
generator - Copyright © 2014. All rights reserved.