Class 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:
    RFC 4462
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      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, process, 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
    • Method Detail

      • 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