[
https://issues.apache.org/jira/browse/HIVE-21783?focusedWorklogId=251855&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-251855
]
ASF GitHub Bot logged work on HIVE-21783:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 31/May/19 16:14
Start Date: 31/May/19 16:14
Worklog Time Spent: 10m
Work Description: odraese commented on pull request #648: HIVE-21783:
Accept Hive connections from the same domain without authentication.
URL: https://github.com/apache/hive/pull/648#discussion_r289455397
##########
File path: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
##########
@@ -3468,6 +3468,10 @@ private static void
populateLlapDaemonVarsSet(Set<String> llapDaemonVarsSetLocal
" (Use with property
hive.server2.custom.authentication.class)\n" +
" PAM: Pluggable authentication module\n" +
" NOSASL: Raw transport"),
+ HIVE_SERVER2_TRUST_DOMAIN("hive.server2.trust.domain", "",
+ "Specifies the host or a domain to trust connections from.
Authentication is skipped " +
+ "for any connection coming from this domain or the host.
By default it is " +
+ "empty, which means that all the connections to
HiveServer2 are authenticated."),
Review comment:
Explaining the logic that this property provides a suffix (for endswith
check) rather than requiring an exact host name, could help.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 251855)
Time Spent: 2h (was: 1h 50m)
> Avoid authentication for connection from the same domain
> --------------------------------------------------------
>
> Key: HIVE-21783
> URL: https://issues.apache.org/jira/browse/HIVE-21783
> Project: Hive
> Issue Type: New Feature
> Components: HiveServer2
> Reporter: Ashutosh Bapat
> Assignee: Ashutosh Bapat
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-21783.01.patch, HIVE-21801.01.patch
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> When a connection comes from the same domain do not authenticate the user.
> This is similar to NONE authentication but only for the connection from the
> same domain.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)