Class JGitPasswordAuthFactory
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.eclipse.jgit.internal.transport.sshd.JGitPasswordAuthFactory
- 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
public class JGitPasswordAuthFactory
extends org.apache.sshd.client.auth.AbstractUserAuthFactory
A customized
UserAuthPasswordFactory that creates instance of
JGitPasswordAuthentication.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JGitPasswordAuthFactoryThe singletonJGitPasswordAuthFactory.Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTORFields inherited from interface org.apache.sshd.common.auth.UserAuthMethodFactory
HOST_BASED, KB_INTERACTIVE, PASSWORD, PUBLIC_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.client.auth.password.UserAuthPasswordcreateUserAuth(org.apache.sshd.client.session.ClientSession session) Methods inherited from class org.apache.sshd.common.auth.AbstractUserAuthMethodFactory
getName, toStringMethods 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, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sshd.common.NamedResource
getName
-
Field Details
-
INSTANCE
The singletonJGitPasswordAuthFactory.
-
-
Constructor Details
-
JGitPasswordAuthFactory
private JGitPasswordAuthFactory()
-
-
Method Details
-
createUserAuth
public org.apache.sshd.client.auth.password.UserAuthPassword createUserAuth(org.apache.sshd.client.session.ClientSession session) throws IOException - Throws:
IOException
-