Package io.trino.hdfs.authentication
Class HdfsKerberosConfig
java.lang.Object
io.trino.hdfs.authentication.HdfsKerberosConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull String@jakarta.validation.constraints.AssertTrue(message="Exactly one of `hive.hdfs.trino.keytab` or `hive.hdfs.trino.credential-cache.location` must be specified") booleansetHdfsTrinoCredentialCacheLocation(String hdfsTrinoCredentialCacheLocation) setHdfsTrinoKeytab(String hdfsTrinoKeytab) setHdfsTrinoPrincipal(String hdfsTrinoPrincipal)
-
Constructor Details
-
HdfsKerberosConfig
public HdfsKerberosConfig()
-
-
Method Details
-
getHdfsTrinoPrincipal
-
setHdfsTrinoPrincipal
@Config("hive.hdfs.trino.principal") @LegacyConfig("hive.hdfs.presto.principal") public HdfsKerberosConfig setHdfsTrinoPrincipal(String hdfsTrinoPrincipal) -
getHdfsTrinoKeytab
-
setHdfsTrinoKeytab
@Config("hive.hdfs.trino.keytab") @LegacyConfig("hive.hdfs.presto.keytab") public HdfsKerberosConfig setHdfsTrinoKeytab(String hdfsTrinoKeytab) -
getHdfsTrinoCredentialCacheLocation
-
setHdfsTrinoCredentialCacheLocation
@Config("hive.hdfs.trino.credential-cache.location") public HdfsKerberosConfig setHdfsTrinoCredentialCacheLocation(String hdfsTrinoCredentialCacheLocation) -
isConfigValid
@AssertTrue(message="Exactly one of `hive.hdfs.trino.keytab` or `hive.hdfs.trino.credential-cache.location` must be specified") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of `hive.hdfs.trino.keytab` or `hive.hdfs.trino.credential-cache.location` must be specified") boolean isConfigValid()
-