Todd Lipcon has submitted this change and it was merged. Change subject: java: fetch and adopt authn token and CA from master ......................................................................
java: fetch and adopt authn token and CA from master This makes the Java client fetch a token and CA information from the master upon first connect, and also exposes APIs to export and import the security information in a serialized protobuf form. A new test connects to a Kerberized cluster and serializes this authentication info. It then drops Kerberos credentials, and passes the credentials to a new client, which is still able to connect to the cluster using the serialized info. The new APIs introduced here are marked Unstable since we may need to get more experience using them in execution frameworks before locking them down. Change-Id: I24e71f0f5feefa36106a50074d40731911eff64b Reviewed-on: http://gerrit.cloudera.org:8080/6077 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/ConnectToClusterResponse.java M java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java M java/kudu-client/src/main/java/org/apache/kudu/client/SecurityContext.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduClient.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestNegotiator.java A java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java M src/kudu/client/CMakeLists.txt M src/kudu/client/client.proto 9 files changed, 284 insertions(+), 23 deletions(-) Approvals: Dan Burkert: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/6077 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I24e71f0f5feefa36106a50074d40731911eff64b Gerrit-PatchSet: 6 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]>
