Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18477


Change subject: jwt: Java client usage of JWTs
......................................................................

jwt: Java client usage of JWTs

WIP:
- this very barely plumbs JWTs into the Java-side negotiation
- it doesn't correctly authenticate using plumbed JWTs, as seen by the
  test failure when only supplying a JWT and requiring authentication:

org.apache.kudu.test.TestMiniKuduCluster > testJwt FAILED
    org.apache.kudu.client.NonRecoverableException: Couldn't find a valid 
master in (127.94.224.62:42399). Exceptions received: 
[org.apache.kudu.client.NonRecoverableException: client requires 
authentication, but server does not have Kerberos enabled]

The end goal of this patch series is to have a Nifi client fetch a JWT
from an endpoint, and use that to authenticate with a Kudu cluster that
is unable to use Kerberos.

Change-Id: Id02dcd7ee57a838f4763500e78053e21aac21c09
---
M java/kudu-client/src/main/java/org/apache/kudu/client/Negotiator.java
M java/kudu-client/src/main/java/org/apache/kudu/client/SecurityContext.java
M 
java/kudu-test-utils/src/test/java/org/apache/kudu/test/TestMiniKuduCluster.java
3 files changed, 52 insertions(+), 2 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id02dcd7ee57a838f4763500e78053e21aac21c09
Gerrit-Change-Number: 18477
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to