public class KerberosHiveMetastoreAuthentication extends Object implements HiveMetastoreAuthentication
| Constructor and Description |
|---|
KerberosHiveMetastoreAuthentication(MetastoreKerberosConfig config,
HadoopAuthentication authentication) |
KerberosHiveMetastoreAuthentication(String hiveMetastoreServicePrincipal,
HadoopAuthentication authentication) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.thrift.transport.TTransport |
authenticate(org.apache.thrift.transport.TTransport rawTransport,
String hiveMetastoreHost,
Optional<String> delegationToken) |
@Inject public KerberosHiveMetastoreAuthentication(MetastoreKerberosConfig config, HadoopAuthentication authentication)
public KerberosHiveMetastoreAuthentication(String hiveMetastoreServicePrincipal, HadoopAuthentication authentication)
public org.apache.thrift.transport.TTransport authenticate(org.apache.thrift.transport.TTransport rawTransport,
String hiveMetastoreHost,
Optional<String> delegationToken)
authenticate in interface HiveMetastoreAuthenticationCopyright © 2012–2020. All rights reserved.