'Authentication for Hadoop HTTP web-consoles ... via LDAP?

I want to limit access to the Hadoop web UIs. But I don't want to set up Kerberos. We have LDAP, though.

Looking around, I see:

  1. Authentication for Hadoop HTTP web-consoles
  2. Class LdapAuthenticationHandler

I like to think I could somehow stuff the LdapAuthenticationHandler into the Web Authentication stuff, but it is not obvious, and I can not find an example.

Is what I am seeking possible?

Failing that, I could set up HTTP proxies that do basic auth via LDAP. If I do that, does the user ID information get relayed to the Hadoop web UIs? (I am thinking specifically of the HDFS file browser.)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source