Class MinaSSHPublicKeyAuthenticator

java.lang.Object
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession,com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey>
io.jenkins.plugins.mina_sshd_api.core.authenticators.MinaSSHPublicKeyAuthenticator

public class MinaSSHPublicKeyAuthenticator extends com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator<org.apache.sshd.client.session.ClientSession,com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey>
Does public key 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 java.lang.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.jenkins.plugins.sshcredentials.SSHUserPrivateKey>
    • 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.jenkins.plugins.sshcredentials.SSHUserPrivateKey>
    • doAuthenticate

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