public interface JwtSecretProvider
HiveConf.ConfVars#LLAP_EXTERNAL_CLIENT_CLOUD_JWT_SHARED_SECRET_PROVIDER.
It expects implementations to provide default constructor and init(Configuration) method.| Modifier and Type | Method and Description |
|---|---|
Key |
getDecryptionSecret()
returns secret for parsing JWT.
|
Key |
getEncryptionSecret()
returns secret for signing JWT.
|
void |
init(org.apache.hadoop.conf.Configuration conf)
Initializes the provider.
|
static JwtSecretProvider |
initAndGet(org.apache.hadoop.conf.Configuration conf)
Hive internally uses this method to obtain instance of
JwtSecretProvider |
Key getEncryptionSecret()
Key getDecryptionSecret()
void init(org.apache.hadoop.conf.Configuration conf)
conf - configurationstatic JwtSecretProvider initAndGet(org.apache.hadoop.conf.Configuration conf)
JwtSecretProviderconf - configurationHiveConf.ConfVars#LLAP_EXTERNAL_CLIENT_CLOUD_JWT_SHARED_SECRET_PROVIDERCopyright © 2024 The Apache Software Foundation. All rights reserved.