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 customizedUserAuthPasswordFactory
that creates instance ofJGitPasswordAuthentication
.
-
-
Field Summary
Fields Modifier and Type Field Description static JGitPasswordAuthFactory
INSTANCE
The singletonJGitPasswordAuthFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.client.auth.password.UserAuthPassword
createUserAuth(org.apache.sshd.client.session.ClientSession session)
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final JGitPasswordAuthFactory INSTANCE
The singletonJGitPasswordAuthFactory
.
-
-
Method Detail
-
createUserAuth
public org.apache.sshd.client.auth.password.UserAuthPassword createUserAuth(org.apache.sshd.client.session.ClientSession session) throws IOException
- Throws:
IOException
-
-