Jeffrey(Xilang) Yan created LIVY-634:
----------------------------------------

             Summary: Livy ThriftServer should be able to reuse hive 
PasswdAuthenticationProvider
                 Key: LIVY-634
                 URL: https://issues.apache.org/jira/browse/LIVY-634
             Project: Livy
          Issue Type: Improvement
          Components: Thriftserver
    Affects Versions: 0.6.0
            Reporter: Jeffrey(Xilang) Yan


Currently Livy share same PasswdAuthenticationProvider interface with 
HiveServer2, but not able to reuse PasswdAuthenticationProvider implementation 
like LdapAuthenticationProviderImpl and PamAuthenticationProviderImpl.

 

We can extend livy CustomAuthenticationProvider to support hive 
PasswdAuthenticationProvider  implementation. For example, to use 
LdapAuthenticationProviderImpl  we can add such configuration in livy.conf

 

livy.server.thrift.authentication = CUSTOM
livy.server.thrift.custom.authentication.class = 
org.apache.hive.service.auth.LdapAuthenticationProviderImpl
livy.server.thrift.authentication.custom.hive.server2.authentication.ldap.url = 
xxxx
livy.server.thrift.authentication.custom.hive.server2.authentication.ldap.Domain
 = xxxx

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to