hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-21783) Avoid authentication for connection from the same domain
Date Tue, 28 May 2019 16:19:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-21783?focusedWorklogId=249455&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-249455
]

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_r288187467
 
 

 ##########
 File path: service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java
 ##########
 @@ -123,7 +123,7 @@ public HiveAuthFactory(HiveConf conf) throws TTransportException {
     return saslProps;
   }
 
-  public TTransportFactory getAuthTransFactory() throws LoginException {
+  public TTransportFactory getAuthTransFactory(String hiveHost) throws LoginException {
 
 Review comment:
   hiveHost is the host name of HS2. We could either automatically detect this or we could
rename this to "validDomain" as we really just specify here, what we use to check against
with incoming requests.....
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 249455)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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)

Mime
View raw message