Hello Todd Lipcon, Alexey Serbin,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/6154

to review the following change.

Change subject: server_negotiation: improve error handling
......................................................................

server_negotiation: improve error handling

Unlike in the client negotiator, the server negotiator should send an
error response back to the client on authentication failure.  We were
missing this in a few cases, notably around token and cert
authentication failures. This also adds a new token-specific rpc error
code which is used when the client should discard its token and request
a new one from the master.

Change-Id: I64f9c0f59aa608bf5078d65883a7d9a6fb186c04
---
M src/kudu/rpc/rpc_header.proto
M src/kudu/rpc/server_negotiation.cc
M src/kudu/security/token_verifier.cc
M src/kudu/security/token_verifier.h
4 files changed, 59 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/54/6154/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6154
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I64f9c0f59aa608bf5078d65883a7d9a6fb186c04
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to