Class GssApiWithMicAuthentication

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.client.auth.AbstractUserAuth
org.eclipse.jgit.internal.transport.sshd.GssApiWithMicAuthentication
All Implemented Interfaces:
org.apache.sshd.client.auth.UserAuth, org.apache.sshd.client.session.ClientSessionHolder, org.apache.sshd.common.auth.UserAuthInstance<org.apache.sshd.client.session.ClientSession>, org.apache.sshd.common.NamedResource

public class GssApiWithMicAuthentication extends org.apache.sshd.client.auth.AbstractUserAuth
GSSAPI-with-MIC authentication handler (Kerberos 5).
See Also:
  • Field Summary

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected boolean
    processAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer in)
     
    protected boolean
    sendAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service)
     
    void
    signalAuthMethodFailure(org.apache.sshd.client.session.ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer)
     
    void
    signalAuthMethodSuccess(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer)
     

    Methods inherited from class org.apache.sshd.client.auth.AbstractUserAuth

    getClientSession, getName, getService, getSession, init, isCancellable, process, setCancellable, 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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • sendAuthDataRequest

      protected boolean sendAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service) throws Exception
      Specified by:
      sendAuthDataRequest in class org.apache.sshd.client.auth.AbstractUserAuth
      Throws:
      Exception
    • processAuthDataRequest

      protected boolean processAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer in) throws Exception
      Specified by:
      processAuthDataRequest in class org.apache.sshd.client.auth.AbstractUserAuth
      Throws:
      Exception
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.sshd.client.auth.UserAuth
      Overrides:
      destroy in class org.apache.sshd.client.auth.AbstractUserAuth
    • signalAuthMethodSuccess

      public void signalAuthMethodSuccess(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception
      Throws:
      Exception
    • signalAuthMethodFailure

      public void signalAuthMethodFailure(org.apache.sshd.client.session.ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception
      Throws:
      Exception