Class KerberosHiveMetastoreAuthentication
java.lang.Object
io.trino.plugin.hive.metastore.thrift.KerberosHiveMetastoreAuthentication
- All Implemented Interfaces:
HiveMetastoreAuthentication
public class KerberosHiveMetastoreAuthentication
extends Object
implements HiveMetastoreAuthentication
-
Constructor Summary
ConstructorsConstructorDescriptionKerberosHiveMetastoreAuthentication(MetastoreKerberosConfig config, CachingKerberosAuthentication authentication) KerberosHiveMetastoreAuthentication(String hiveMetastoreServicePrincipal, CachingKerberosAuthentication authentication) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.thrift.transport.TTransportauthenticate(org.apache.thrift.transport.TTransport rawTransport, String hiveMetastoreHost, Optional<String> delegationToken)
-
Constructor Details
-
KerberosHiveMetastoreAuthentication
@Inject public KerberosHiveMetastoreAuthentication(MetastoreKerberosConfig config, CachingKerberosAuthentication authentication) -
KerberosHiveMetastoreAuthentication
public KerberosHiveMetastoreAuthentication(String hiveMetastoreServicePrincipal, CachingKerberosAuthentication authentication)
-
-
Method Details
-
authenticate
public org.apache.thrift.transport.TTransport authenticate(org.apache.thrift.transport.TTransport rawTransport, String hiveMetastoreHost, Optional<String> delegationToken) - Specified by:
authenticatein interfaceHiveMetastoreAuthentication
-