Class MinaSSHPasswordKeyAuthenticator

java.lang.Object
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
io.jenkins.plugins.mina_sshd_api.core.authenticators.MinaSSHPasswordKeyAuthenticator

public class MinaSSHPasswordKeyAuthenticator extends com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
Does password auth with a ClientSession.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 

    Nested classes/interfaces inherited from class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator

    com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.Mode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    protected boolean
    com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.Mode
     

    Methods inherited from class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator

    authenticate, authenticate, authenticateOrFail, filter, getConnection, getListener, getPrivateKeys, getUser, getUsername, isAuthenticated, isSupported, matcher, matcher, newInstance, newInstance, newInstance, setListener

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • canAuthenticate

      public boolean canAuthenticate()
      Overrides:
      canAuthenticate in class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
    • getAuthenticationMode

      @NonNull public com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.Mode getAuthenticationMode()
      Overrides:
      getAuthenticationMode in class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
    • doAuthenticate

      protected boolean doAuthenticate()
      Specified by:
      doAuthenticate in class com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>