This is an automated email from the ASF dual-hosted git repository.
gsaihemanth pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
from 2c1b6523736 HIVE-24240: Implement missing features in UDTFStatsRule
(okumin, reviewed by Krisztian Kasa, Attila Turoczy)
add 877a00904d6 HIVE-27352: Support both LDAP and Kerberos Auth in HS2
(#4331) (Zhihua Deng, reviewed by Sai Hemanth Gantasala)
No new revisions were added by this update.
Summary of changes:
itests/hive-minikdc/pom.xml | 24 +++
.../hive/minikdc/TestHS2AuthMechsWithMiniKdc.java | 186 +++++++++++++++++++++
.../apache/hive/minikdc/TestHS2JWTWithMiniKdc.java | 181 ++++++++++++++++++++
.../apache/hive/minikdc/TestHiveAuthFactory.java | 4 +-
.../resources/auth.jwt/jwt-authorized-key.json | 0
.../resources/auth.jwt/jwt-unauthorized-key.json | 0
.../resources/auth.jwt/jwt-verification-jwks.json | 0
itests/hive-unit/pom.xml | 2 +-
itests/pom.xml | 1 +
.../apache/hive/jdbc/HttpBasicAuthInterceptor.java | 6 +
.../hive/jdbc/HttpKerberosRequestInterceptor.java | 8 +-
.../hive/jdbc/HttpRequestInterceptorBase.java | 9 +
.../apache/hive/jdbc/HttpTokenAuthInterceptor.java | 6 +
.../jdbc/jwt/HttpJwtAuthRequestInterceptor.java | 5 +
.../jdbc/saml/HttpSamlAuthRequestInterceptor.java | 5 +
.../org/apache/hive/service/auth/AuthType.java | 116 ++++++++++---
.../apache/hive/service/auth/HiveAuthFactory.java | 40 ++---
.../hive/service/auth/saml/HiveSamlUtils.java | 4 -
.../service/cli/thrift/ThriftBinaryCLIService.java | 2 +-
.../service/cli/thrift/ThriftHttpCLIService.java | 8 +-
.../hive/service/cli/thrift/ThriftHttpServlet.java | 45 ++++-
.../service/server/HS2ActivePassiveHARegistry.java | 3 +-
.../apache/hive/service/server/HiveServer2.java | 14 +-
.../org/apache/hive/service/auth/TestAuthType.java | 152 +++++++++--------
.../service/cli/thrift/ThriftHttpServletTest.java | 5 +-
25 files changed, 667 insertions(+), 159 deletions(-)
create mode 100644
itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestHS2AuthMechsWithMiniKdc.java
create mode 100644
itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestHS2JWTWithMiniKdc.java
copy itests/{hive-unit =>
hive-minikdc}/src/test/resources/auth.jwt/jwt-authorized-key.json (100%)
copy itests/{hive-unit =>
hive-minikdc}/src/test/resources/auth.jwt/jwt-unauthorized-key.json (100%)
copy itests/{hive-unit =>
hive-minikdc}/src/test/resources/auth.jwt/jwt-verification-jwks.json (100%)