Todd Lipcon has submitted this change and it was merged.

Change subject: java: support token authentication in negotiation
......................................................................


java: support token authentication in negotiation

This adds support for the TOKEN authentication type in negotiation, as
well as a place to store the token and CA cert within the client. This
isn't quite hooked up to the ConnectToCluster RPC yet, so it won't
actually take effect for real connections, but a new unit test verifies
the code paths.

A later patch will actually hook this up to the real certs and tokens
once the appropriate server-side code has all landed.

Change-Id: I7da5809495d67b308828e83c857249b852f21db3
Reviewed-on: http://gerrit.cloudera.org:8080/6047
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <[email protected]>
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
M java/kudu-client/src/main/java/org/apache/kudu/client/Negotiator.java
A java/kudu-client/src/main/java/org/apache/kudu/client/SecurityContext.java
M java/kudu-client/src/main/java/org/apache/kudu/client/TabletClient.java
M java/kudu-client/src/main/java/org/apache/kudu/util/SecurityUtil.java
M java/kudu-client/src/test/java/org/apache/kudu/client/TestNegotiator.java
M src/kudu/rpc/client_negotiation.cc
7 files changed, 522 insertions(+), 131 deletions(-)

Approvals:
  Dan Burkert: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/6047
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7da5809495d67b308828e83c857249b852f21db3
Gerrit-PatchSet: 7
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to