[ https://issues.apache.org/jira/browse/HIVE-21783?focusedWorklogId=249452&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-249452 ]
ASF GitHub Bot logged work on HIVE-21783: ----------------------------------------- Author: ASF GitHub Bot Created on: 28/May/19 16:18 Start Date: 28/May/19 16:18 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_r288186125 ########## 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: Maybe we should perform a validation of the input parameters (not null, not empty host string) here? ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 249452) Time Spent: 20m (was: 10m) > 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: 20m > 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)