Class 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
      • Fields inherited from class org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory

        INSTANCE, NAME
      • Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

        log
      • Fields inherited from interface org.apache.sshd.common.NamedResource

        BY_NAME_COMPARATOR, NAME_EXTRACTOR
      • Fields inherited from interface org.apache.sshd.common.auth.UserAuthMethodFactory

        HOST_BASED, KB_INTERACTIVE, PASSWORD, PUBLIC_KEY
    • 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 interface org.apache.sshd.common.NamedResource

        getName
      • Methods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesHolder

        getSignatureFactoriesNameList, getSignatureFactoriesNames
      • Methods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesManager

        setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNames
    • 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 interface org.apache.sshd.common.auth.UserAuthMethodFactory<org.apache.sshd.client.session.ClientSession,​org.apache.sshd.client.auth.UserAuth>
        Overrides:
        createUserAuth in class org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyFactory
        Throws:
        IOException