Marton Greber has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/22242 )

Change subject: [webserver] Add auth principal to WebRequest
......................................................................

[webserver] Add auth principal to WebRequest

This patch updates the WebRequest structure to include the authenticated
principal. When SPNEGO is disabled, the authenticated principal defaults
to an empty string.

This enhancement is essential for REST API endpoints, allowing the
authenticated principal to be used for determining user permissions when
listing, creating, or deleting tables.

Change-Id: I8a64fb77cfa3bb83b911afc3ebaa8bd23e860663
Reviewed-on: http://gerrit.cloudera.org:8080/22242
Reviewed-by: Ashwani Raina <[email protected]>
Reviewed-by: Marton Greber <[email protected]>
Tested-by: Marton Greber <[email protected]>
---
M src/kudu/server/webserver-test.cc
M src/kudu/server/webserver.cc
M src/kudu/util/web_callback_registry.h
3 files changed, 72 insertions(+), 0 deletions(-)

Approvals:
  Ashwani Raina: Looks good to me, but someone else must approve
  Marton Greber: Looks good to me, approved; Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8a64fb77cfa3bb83b911afc3ebaa8bd23e860663
Gerrit-Change-Number: 22242
Gerrit-PatchSet: 6
Gerrit-Owner: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Marton Greber <[email protected]>

Reply via email to