You can enable LDAP authentication with HiveServer2 by setting the following properties under the [beeswax] section in hue.ini:
auth_username=<LDAP username of Hue user to be authenticated>
auth_password=<LDAP password of Hue user to be authenticated>