Bikramjeet Vig has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16542
Change subject: IMPALA-10210: Skip Authentication for connection from a trusted domain ...................................................................... IMPALA-10210: Skip Authentication for connection from a trusted domain Adds the ability to skip authentication for connection requests originating from a trusted domain over the hs2 http endpoint and the http webserver endpoint. The trusted domain can be specified using the newly added "--trusted_domain" startup flag. Additionally, if the startup flag "--trusted_domain_use_xff_header" is set to true, impala will switch to using the 'X-Forwarded-For' HTML header to extract the origin address while attempting to check if the connection originated from a trusted domain. Testing: Added tests for both the hs2 http endpoint and the webserver http endpoint Change-Id: I09234078e2314dbc3177d0e869ae028e216ca699 --- M be/src/rpc/CMakeLists.txt R be/src/rpc/authentication-util.cc R be/src/rpc/authentication-util.h 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 11 files changed, 420 insertions(+), 45 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/42/16542/1 -- To view, visit http://gerrit.cloudera.org:8080/16542 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I09234078e2314dbc3177d0e869ae028e216ca699 Gerrit-Change-Number: 16542 Gerrit-PatchSet: 1 Gerrit-Owner: Bikramjeet Vig <[email protected]>
