Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.6.0
-
None
-
None
Description
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
Attachments
Issue Links
- links to