Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/9025
Change subject: WIP [rpc] don't issue authn tokens over non-confidential
connections
......................................................................
WIP [rpc] don't issue authn tokens over non-confidential connections
With this patch, master will not issue authn tokens over a
non-confidential connection. The 'confidentiality' property is set
while negotiating a connection and stored into the RpcContext
(accessible via the RpcContext::is_confidential() method).
WIP: a test is needed. Also, I would like to collect some feedback
on the way how the 'confidentiality' property is determined
and propagated.
Change-Id: Ie31aa492bcc460dbd43975bccfe571354f3bf885
---
M src/kudu/master/master_service.cc
M src/kudu/rpc/connection.cc
M src/kudu/rpc/connection.h
M src/kudu/rpc/negotiation.cc
M src/kudu/rpc/rpc_context.cc
M src/kudu/rpc/rpc_context.h
6 files changed, 37 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/9025/1
--
To view, visit http://gerrit.cloudera.org:8080/9025
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie31aa492bcc460dbd43975bccfe571354f3bf885
Gerrit-Change-Number: 9025
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>