Hello Dan Burkert,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6047
to review the following change.
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
---
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
6 files changed, 508 insertions(+), 106 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/47/6047/1
--
To view, visit http://gerrit.cloudera.org:8080/6047
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7da5809495d67b308828e83c857249b852f21db3
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>