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