[
https://issues.apache.org/jira/browse/HIVE-21783?focusedWorklogId=250864&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-250864
]
ASF GitHub Bot logged work on HIVE-21783:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/May/19 09:48
Start Date: 30/May/19 09:48
Worklog Time Spent: 10m
Work Description: ashutosh-bapat 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_r288927071
##########
File path: service/src/java/org/apache/hive/service/auth/PlainSaslHelper.java
##########
@@ -65,6 +70,15 @@ public static TTransportFactory
getPlainTransportFactory(String authTypeStr)
return saslFactory;
}
+ public static TTransportFactory
getDualPlainTransportFactory(TTransportFactory otherTrans,
+ String hiveHost)
+ throws LoginException {
+ LOG.info("Created additional transport factory for skipping authentication
when client " +
Review comment:
As per the latest approach, the trusted domain will be configured and thus
we do not rely on hivehost to know the trusted domain. So hiveHost won't be
passed.
----------------------------------------------------------------
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: 250864)
Time Spent: 1h 10m (was: 1h)
> 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
> Time Spent: 1h 10m
> 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)