From issues-return-96446-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Jun 4 14:43:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D604718064D for ; Tue, 4 Jun 2019 16:43:01 +0200 (CEST) Received: (qmail 44993 invoked by uid 500); 4 Jun 2019 14:43:01 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 44962 invoked by uid 99); 4 Jun 2019 14:43:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2019 14:43:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 833B3E0A64 for ; Tue, 4 Jun 2019 14:43:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 37F2A20FEB for ; Tue, 4 Jun 2019 14:43:00 +0000 (UTC) Date: Tue, 4 Jun 2019 14:43:00 +0000 (UTC) From: "Igor Sapego (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-11875) Thin client is unable to authenticate with long password MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-11875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855773#comment-16855773 ] Igor Sapego commented on IGNITE-11875: -------------------------------------- [~ptupitsyn] done. [~DmitriyGovorukhin] can you take a look on Java part please? > Thin client is unable to authenticate with long password > -------------------------------------------------------- > > Key: IGNITE-11875 > URL: https://issues.apache.org/jira/browse/IGNITE-11875 > Project: Ignite > Issue Type: Bug > Components: jdbc, odbc, thin client > Affects Versions: 2.7 > Reporter: Igor Sapego > Assignee: Igor Sapego > Priority: Major > Fix For: 2.8 > > Time Spent: 10m > Remaining Estimate: 0h > > Token authentication could use long usernames/passwords, that leads to "Invalid handshake message" > ClientListenerNioServerBuffer: > {code:java} > 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; > } > {code} > The reproducer is attached. -- This message was sent by Atlassian JIRA (v7.6.3#76005)