Class JSchSSHPublicKeyAuthenticator.Factory

    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • newInstance

        protected <C,​U extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<C,​U> newInstance​(@NonNull
                                                                                                                                                                                                C session,
                                                                                                                                                                                                @NonNull
                                                                                                                                                                                                U user)
        Specified by:
        newInstance in class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticatorFactory
      • newInstance

        @Nullable
        protected <C,​U extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<C,​U> newInstance​(@NonNull
                                                                                                                                                                                                C session,
                                                                                                                                                                                                @NonNull
                                                                                                                                                                                                U user,
                                                                                                                                                                                                @CheckForNull
                                                                                                                                                                                                String username)
        Overrides:
        newInstance in class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticatorFactory
      • supports

        protected <C,​U extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> boolean supports​(@NonNull
                                                                                                                            Class<C> connectionClass,
                                                                                                                            @NonNull
                                                                                                                            Class<U> userClass)
        Specified by:
        supports in class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticatorFactory