Tsz-wo Sze created HDFS-17575:
---------------------------------
Summary: SaslDataTransferClient should use SaslParticipant to
create messages
Key: HDFS-17575
URL: https://issues.apache.org/jira/browse/HDFS-17575
Project: Hadoop HDFS
Issue Type: Improvement
Components: security
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
Currently, a SaslDataTransferClient may send a message without using its
SaslParticipant as below. {code}
sendSaslMessage(out, new byte[0]);
{code}
Instead, it should use its SaslParticipant to create the response.
{code}
byte[] localResponse = sasl.evaluateChallengeOrResponse(remoteResponse);
sendSaslMessage(out, localResponse);
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]