Hue how use LDAP Authentication to connect hive

our server is working good;
but i hive some puzzled, i unclear hue how to connect to hive in LDAP Authentication process!

service disabled hive.server2.enable.impersonation;hive.server2.enable.doAs;
our hue and hive service used LDAP Authentication , when a hue user login in hue, to open a notebook edited hive sql to hiveserver2 to execute ;

in this operation, this user how to Authentication to hiveserver2, hue cached this user password?
i viewed hue source, but i not fount A precise method to do this operation!!

someone can resolution my puzzled with hue Authentication to hiveserver2?