Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7
-
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.