This is an automated email from the ASF dual-hosted git repository.
prasanthj pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.
from 67240e7 Revert "HIVE-21783: Avoid authentication for connection from
the same domain (Ashutosh Bapat reviewed by Olli Draese, Prasanth Jayachandran)"
new eaf96ca HIVE-21783: Accept Hive connections from the same domain
without authentication.
new 20bda80 HIVE-21801 : Tests using miniHS2 with HTTP as transport are
creating miniHS2 with binary transport
new c440236 HIVE-21783 : Address comments by Olli and Prasanth.
new 636890f HIVE-21783 : Add tests for trusted domain authentication.
new b386328 HIVE-21783 : In case of HTTP use reverse DNS lookup to get
the host name of client.
new 56fc46b Merge pull request #648 from ashutosh-bapat/hive21783
The 13496 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/apache/hadoop/hive/conf/HiveConf.java | 8 +
.../java/org/apache/hive/minikdc/MiniHiveKdc.java | 23 ++-
...estImproperTrustDomainAuthenticationBinary.java | 15 +-
.../TestImproperTrustDomainAuthenticationHttp.java | 15 +-
.../auth/TestTrustDomainAuthenticationBinary.java | 15 +-
.../auth/TestTrustDomainAuthenticationHttp.java | 15 +-
.../auth/TrustDomainAuthenticationTest.java | 192 +++++++++++++++++++++
.../apache/hive/service/auth/HiveAuthFactory.java | 5 +
.../apache/hive/service/auth/PlainSaslHelper.java | 54 ++++++
.../hive/service/cli/thrift/ThriftHttpServlet.java | 53 ++++--
10 files changed, 338 insertions(+), 57 deletions(-)
copy
common/src/java/org/apache/hadoop/hive/common/metrics/metrics2/CodahaleReporter.java
=>
itests/hive-unit/src/test/java/org/apache/hive/service/auth/TestImproperTrustDomainAuthenticationBinary.java
(73%)
copy
common/src/java/org/apache/hadoop/hive/common/metrics/metrics2/CodahaleReporter.java
=>
itests/hive-unit/src/test/java/org/apache/hive/service/auth/TestImproperTrustDomainAuthenticationHttp.java
(73%)
copy
common/src/java/org/apache/hadoop/hive/common/metrics/metrics2/CodahaleReporter.java
=>
itests/hive-unit/src/test/java/org/apache/hive/service/auth/TestTrustDomainAuthenticationBinary.java
(74%)
copy
common/src/java/org/apache/hadoop/hive/common/metrics/metrics2/CodahaleReporter.java
=>
itests/hive-unit/src/test/java/org/apache/hive/service/auth/TestTrustDomainAuthenticationHttp.java
(74%)
create mode 100644
itests/hive-unit/src/test/java/org/apache/hive/service/auth/TrustDomainAuthenticationTest.java