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, setUsername
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMethod, getUsername, setUsername
public void authenticate(AuthenticationProtocol authentication, String servicename) throws SshException, AuthenticationResult
AuthenticationClient
authenticate
in interface AuthenticationClient
AuthenticationResult
SshException
public void setSignatureGenerator(SignatureGenerator generator)
generator
- Copyright © 2014. All rights reserved.