Wenzhe Zhou has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17759


Change subject: IMPALA-10846: Skip Authentication for connection with trusted 
auth header
......................................................................

IMPALA-10846: Skip Authentication for connection with trusted auth header

Adds the ability to skip authentication for connection over hs2 HTTP
endpoint or the http webserver endpoint with trusted auth header in
connection string. The trusted auth header can be specified using the
newly added "--trusted_auth_header" startup flag. Note this still
requires the client to specify a username via a basic auth header.

Testing:
 - Added unit tests for both the hs2 http endpoint and the webserver
   http endpoint.
 - Passed core tests.

Change-Id: I7103012bc9cf9dfdc9c184af3a281526d8127a31
---
M be/src/rpc/authentication.cc
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M be/src/util/webserver.cc
M be/src/util/webserver.h
M common/thrift/metrics.json
M fe/src/test/java/org/apache/impala/customcluster/LdapHS2Test.java
M fe/src/test/java/org/apache/impala/customcluster/LdapWebserverTest.java
8 files changed, 307 insertions(+), 31 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/59/17759/1
--
To view, visit http://gerrit.cloudera.org:8080/17759
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7103012bc9cf9dfdc9c184af3a281526d8127a31
Gerrit-Change-Number: 17759
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <[email protected]>

Reply via email to