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
Constructors Constructor Description KerberosHiveMetastoreAuthentication(MetastoreKerberosConfig config, HadoopAuthentication authentication)KerberosHiveMetastoreAuthentication(String hiveMetastoreServicePrincipal, HadoopAuthentication authentication)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.thrift.transport.TTransportauthenticate(org.apache.thrift.transport.TTransport rawTransport, String hiveMetastoreHost, Optional<String> delegationToken)
-
-
-
Constructor Detail
-
KerberosHiveMetastoreAuthentication
@Inject public KerberosHiveMetastoreAuthentication(MetastoreKerberosConfig config, HadoopAuthentication authentication)
-
KerberosHiveMetastoreAuthentication
public KerberosHiveMetastoreAuthentication(String hiveMetastoreServicePrincipal, HadoopAuthentication authentication)
-
-
Method Detail
-
authenticate
public org.apache.thrift.transport.TTransport authenticate(org.apache.thrift.transport.TTransport rawTransport, String hiveMetastoreHost, Optional<String> delegationToken)- Specified by:
authenticatein interfaceHiveMetastoreAuthentication
-
-