public class LDAPBackedDatabaseUserConfigLoader extends DatabaseUserConfigLoader
| Constructor and Description | 
|---|
| LDAPBackedDatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)Instantiates a new LDAP backed database user config loader. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getAttributes(String user)Gets the attributes. | 
| Map<String,String> | getUserConfig(String loggedInUser)Gets the user config. | 
preSubmitpublic LDAPBackedDatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
                                   throws UserConfigLoaderException
conf - the confUserConfigLoaderException - the user config loader exceptionpublic String[] getAttributes(String user) throws NamingException
user - the userNamingException - the naming exceptionpublic Map<String,String> getUserConfig(String loggedInUser) throws UserConfigLoaderException
UserConfigLoadergetUserConfig in class DatabaseUserConfigLoaderloggedInUser - the logged in userUserConfigLoaderException - the user config loader exceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.