Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11875

Thin client is unable to authenticate with long password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.8
    • jdbc, odbc, thin client
    • None

    Description

      Token authentication could use long usernames/passwords, that leads to "Invalid handshake message"
      ClientListenerNioServerBuffer:

              if (cnt == msgSize) {
                  byte[] data0 = data;
      
                  reset();
      
                  return data0;
              }
              else {
                  if (checkHandshake && cnt > 0 && (msgSize > ClientListenerNioListener.MAX_HANDSHAKE_MSG_SIZE
                      || data[0] != ClientListenerRequest.HANDSHAKE))
                      throw new IgniteCheckedException("Invalid handshake message");
      
                  return null;
              }
      

      The reproducer is attached.

      Attachments

        Activity

          People

            isapego Igor Sapego
            isapego Igor Sapego
            Sergey Chugunov Sergey Chugunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m