org.apache.lens.server.user
Class LDAPBackedDatabaseUserConfigLoader

java.lang.Object
  extended by org.apache.lens.server.user.UserConfigLoader
      extended by org.apache.lens.server.user.DatabaseUserConfigLoader
          extended by org.apache.lens.server.user.LDAPBackedDatabaseUserConfigLoader

public class LDAPBackedDatabaseUserConfigLoader
extends DatabaseUserConfigLoader

The Class LDAPBackedDatabaseUserConfigLoader.


Constructor Summary
LDAPBackedDatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf)
          Instantiates a new LDAP backed database user config loader.
 
Method Summary
 String[] getAttributes(String user)
          Gets the attributes.
 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

LDAPBackedDatabaseUserConfigLoader

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

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

getAttributes

public String[] getAttributes(String user)
                       throws NamingException
Gets the attributes.

Parameters:
user - the user
Returns:
the attributes
Throws:
NamingException - the naming exception

getUserConfig

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

Overrides:
getUserConfig in class DatabaseUserConfigLoader
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.