Yingchun Lai has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/19967 )

Change subject: jwt: introduce MiniOidc
......................................................................

jwt: introduce MiniOidc

This patch takes some existing test utilities and encapsulates them into
the new MiniOidc class. The MiniOidc serves the purpose of being the
OpenID Connect Discovery endpoint, as the host for JWKSs of each
account, and the dispenser of JWTs.

This encapsulation will be useful in testing JWTs from non-C++ tests
that typically rely on exposing Mini* components via control shell.

Co-authored-by: Andrew Wong <aw...@apache.org>

Change-Id: I26e9b3bcd0946adbe4642a19c5ef1124e39632c6
Reviewed-on: http://gerrit.cloudera.org:8080/18473
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <ale...@apache.org>
(cherry picked from commit 400d25681135b233c943a1b37d55718261578ff2)
Reviewed-on: http://gerrit.cloudera.org:8080/19967
Reviewed-by: Yingchun Lai <laiyingc...@apache.org>
Tested-by: Yingchun Lai <laiyingc...@apache.org>
---
M src/kudu/util/CMakeLists.txt
M src/kudu/util/jwt-util-test.cc
M src/kudu/util/jwt-util.cc
M src/kudu/util/jwt-util.h
A src/kudu/util/mini_oidc.cc
A src/kudu/util/mini_oidc.h
6 files changed, 323 insertions(+), 150 deletions(-)

Approvals:
  Yingchun Lai: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/19967
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: branch-1.17.x
Gerrit-MessageType: merged
Gerrit-Change-Id: I26e9b3bcd0946adbe4642a19c5ef1124e39632c6
Gerrit-Change-Number: 19967
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <ale...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <laiyingc...@apache.org>
Gerrit-Reviewer: Zoltan Chovan <zcho...@cloudera.com>

Reply via email to