Gabriella Lotz has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23052
Change subject: [WIP] SPNEGO authentication in ExternalMiniCluster ...................................................................... [WIP] SPNEGO authentication in ExternalMiniCluster This commit edits the CreateKerberosConfig method to make REST API calls work with SPNEGO authentication in the ExternalMiniCluster. The changes include: 1. Creating a single keytab file that contains both the RPC service principal (kudu/host) and the HTTP service principal (HTTP/host). 2. Enabling SPNEGO authentication for the web UI by adding the appropriate flags (--webserver_require_spnego and --spnego_keytab_file). This change is necessary to properly test REST API authentication in master_authz-itests.cc, as HTTP requests require SPNEGO to be configured correctly to authenticate through Kerberos. Change-Id: Ib6035bdf7f2f0f08f53485a7a1aa82ed26148cc4 --- M src/kudu/mini-cluster/external_mini_cluster-test.cc M src/kudu/mini-cluster/external_mini_cluster.cc 2 files changed, 55 insertions(+), 12 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/52/23052/1 -- To view, visit http://gerrit.cloudera.org:8080/23052 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ib6035bdf7f2f0f08f53485a7a1aa82ed26148cc4 Gerrit-Change-Number: 23052 Gerrit-PatchSet: 1 Gerrit-Owner: Gabriella Lotz <[email protected]>
