public class JGitPublicKeyAuthentication
extends org.apache.sshd.client.auth.pubkey.UserAuthPublicKey
JGitPublicKeyIterator. The super class creates in
init(ClientSession, String) a
UserAuthPublicKeyIterator, which
in its constructor does some strange Stream "magic"
that ends up loading keys prematurely.| Constructor and Description |
|---|
JGitPublicKeyAuthentication(List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.signature.Signature>> factories)
Creates a new
JGitPublicKeyAuthentication. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sshd.client.session.ClientSession |
getClientSession() |
String |
getService() |
org.apache.sshd.client.session.ClientSession |
getSession() |
void |
init(org.apache.sshd.client.session.ClientSession session,
String service) |
appendSignature, destroy, getSignatureFactories, processAuthDataRequest, releaseKeys, sendAuthDataRequest, setSignatureFactoriesgetName, process, toStringgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic JGitPublicKeyAuthentication(List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.signature.Signature>> factories)
JGitPublicKeyAuthentication.factories - signature factories to usepublic void init(org.apache.sshd.client.session.ClientSession session,
String service)
throws Exception
init in interface org.apache.sshd.client.auth.UserAuthinit in class org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyExceptionpublic org.apache.sshd.client.session.ClientSession getClientSession()
getClientSession in interface org.apache.sshd.client.session.ClientSessionHoldergetClientSession in class org.apache.sshd.client.auth.AbstractUserAuthpublic org.apache.sshd.client.session.ClientSession getSession()
getSession in interface org.apache.sshd.common.auth.UserAuthInstance<org.apache.sshd.client.session.ClientSession>getSession in class org.apache.sshd.client.auth.AbstractUserAuthpublic String getService()
getService in class org.apache.sshd.client.auth.AbstractUserAuthCopyright © 2018 Eclipse JGit Project. All rights reserved.