Zoltan Chovan has uploaded a new patch set (#3) to the change originally 
created by Andrew Wong. ( 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/main/java/org/apache/kudu/test/KuduTestHarness.java
M 
java/kudu-test-utils/src/test/java/org/apache/kudu/test/TestMiniKuduCluster.java
4 files changed, 81 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/77/18477/3
--
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: newpatchset
Gerrit-Change-Id: Id02dcd7ee57a838f4763500e78053e21aac21c09
Gerrit-Change-Number: 18477
Gerrit-PatchSet: 3
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to