This project has retired. For details please refer to its Attic page.
DatabaseUserConfigLoader (Lens 2.0.1-beta-incubating API)

org.apache.lens.server.user
Class DatabaseUserConfigLoader

java.lang.Object
  extended by org.apache.lens.server.user.UserConfigLoader
      extended by org.apache.lens.server.user.DatabaseUserConfigLoader
Direct Known Subclasses:
LDAPBackedDatabaseUserConfigLoader

public class DatabaseUserConfigLoader
extends UserConfigLoader

The Class DatabaseUserConfigLoader.


Constructor Summary
DatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
          Instantiates a new database user config loader.
 
Method Summary
 Map<String,String> getUserConfig(String loggedInUser)
          Gets the user config.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseUserConfigLoader

public DatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
                         throws UserConfigLoaderException
Instantiates a new database user config loader.

Parameters:
conf - the conf
Throws:
UserConfigLoaderException - the user config loader exception
Method Detail

getUserConfig

public Map<String,String> getUserConfig(String loggedInUser)
                                 throws UserConfigLoaderException
Description copied from class: UserConfigLoader
Gets the user config.

Specified by:
getUserConfig in class UserConfigLoader
Parameters:
loggedInUser - the logged in user
Returns:
the user config
Throws:
UserConfigLoaderException - the user config loader exception


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.