[ 
https://issues.apache.org/jira/browse/KUDU-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720017#comment-17720017
 ] 

ASF subversion and git services commented on KUDU-3472:
-------------------------------------------------------

Commit e0ef4a861bc5597b71a1a0ebdb88bde76d260a66 in kudu's branch 
refs/heads/master from Alexey Serbin
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=e0ef4a861 ]

[client] KUDU-3472 C++ client API to import JWT

This patch addresses add C++ client API to specify a JWT for a newly
built C++ client instance.  It's an improvement in the usability of the
Kudu client API since with this new extra method the users don't need
to mess with the serialization of the authn credentials.

The new functionality is covered by already existing tests that have
been updated to start using the new API.  More tests might be added
to cover other aspects of the JWT-related functionality, but these
are not directly related to this API change, so we can take care of them
in a separate patch.

Change-Id: I8333f1d0c3b4e92ef8430c7ad91bb7da963aceb9
Reviewed-on: http://gerrit.cloudera.org:8080/19808
Reviewed-by: Abhishek Chennaka <achenn...@cloudera.com>
Tested-by: Alexey Serbin <ale...@apache.org>


> Add methods to import/set JWT as a means of authentication in Kudu client API
> -----------------------------------------------------------------------------
>
>                 Key: KUDU-3472
>                 URL: https://issues.apache.org/jira/browse/KUDU-3472
>             Project: Kudu
>          Issue Type: Improvement
>            Reporter: Alexey Serbin
>            Priority: Major
>
> As of 2023-04-21 in the master branch of the git repository, Kudu allows 
> clients to authenticate with servers server using [JWT|https://jwt.io/], JSON 
> Web Tokens.  However, a missing piece is a means to allow a Kudu client 
> application to supply a JWT as its authentication credentials in an 
> application-friendly way.  The way [how it's done in recently added tests in 
> Kudu test 
> scaffolding|https://github.com/apache/kudu/blob/7747a7c0149d6e8f894ad3216c54db9f27b3d372/src/kudu/integration-tests/security-itest.cc#L693-L704]
>  isn't the way to go if thinking about usable client API.
> It's necessary to add such a means for both C++ and Java Kudu client API.  
> Ideally, the corresponding C++ and Java parts of the API should match and be 
> very similar.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to