Class JGitPublicKeyAuthFactory
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.auth.AbstractUserAuthMethodFactory<org.apache.sshd.client.session.ClientSession,org.apache.sshd.client.auth.UserAuth>
-
- org.apache.sshd.client.auth.AbstractUserAuthFactory
-
- org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory
-
- org.eclipse.jgit.internal.transport.sshd.JGitPublicKeyAuthFactory
-
- All Implemented Interfaces:
org.apache.sshd.client.auth.UserAuthFactory
,org.apache.sshd.common.auth.UserAuthMethodFactory<org.apache.sshd.client.session.ClientSession,org.apache.sshd.client.auth.UserAuth>
,org.apache.sshd.common.NamedResource
,org.apache.sshd.common.signature.SignatureFactoriesHolder
,org.apache.sshd.common.signature.SignatureFactoriesManager
public class JGitPublicKeyAuthFactory extends org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory
A customized authentication factory for public key user authentication.
-
-
Field Summary
Fields Modifier and Type Field Description static JGitPublicKeyAuthFactory
FACTORY
The singletonJGitPublicKeyAuthFactory
.-
Fields inherited from class org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory
INSTANCE, NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.client.auth.pubkey.UserAuthPublicKey
createUserAuth(org.apache.sshd.client.session.ClientSession session)
-
Methods inherited from class org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory
getSignatureFactories, setSignatureFactories
-
Methods inherited from class org.apache.sshd.common.auth.AbstractUserAuthMethodFactory
getName, toString
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FACTORY
public static final JGitPublicKeyAuthFactory FACTORY
The singletonJGitPublicKeyAuthFactory
.
-
-
Method Detail
-
createUserAuth
public org.apache.sshd.client.auth.pubkey.UserAuthPublicKey createUserAuth(org.apache.sshd.client.session.ClientSession session) throws IOException
- Specified by:
createUserAuth
in interfaceorg.apache.sshd.common.auth.UserAuthMethodFactory<org.apache.sshd.client.session.ClientSession,org.apache.sshd.client.auth.UserAuth>
- Overrides:
createUserAuth
in classorg.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory
- Throws:
IOException
-
-