public final class LdapSearchFactory extends Object implements DirSearchFactory
Constructor and Description |
---|
LdapSearchFactory() |
Modifier and Type | Method and Description |
---|---|
DirSearch |
getInstance(HiveConf conf,
String principal,
String password)
Returns an instance of
DirSearch . |
public DirSearch getInstance(HiveConf conf, String principal, String password) throws AuthenticationException
DirSearch
.getInstance
in interface DirSearchFactory
conf
- Hive configurationprincipal
- usernamepassword
- user passwordDirSearch
AuthenticationException
Copyright © 2021 The Apache Software Foundation. All rights reserved.