|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.server.user.UserConfigLoader org.apache.lens.server.user.DatabaseUserConfigLoader org.apache.lens.server.user.LDAPBackedDatabaseUserConfigLoader
public class LDAPBackedDatabaseUserConfigLoader
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 |
---|
public LDAPBackedDatabaseUserConfigLoader(org.apache.hadoop.hive.conf.HiveConf conf) throws UserConfigLoaderException
conf
- the conf
UserConfigLoaderException
- the user config loader exceptionMethod Detail |
---|
public String[] getAttributes(String user) throws NamingException
user
- the user
NamingException
- the naming exceptionpublic Map<String,String> getUserConfig(String loggedInUser) throws UserConfigLoaderException
UserConfigLoader
getUserConfig
in class DatabaseUserConfigLoader
loggedInUser
- the logged in user
UserConfigLoaderException
- the user config loader exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |