public class HadoopCredentialConfiguration extends EntriesCredentialConfiguration implements org.apache.hadoop.conf.Configurable
Modifier and Type | Class and Description |
---|---|
static class |
HadoopCredentialConfiguration.Builder
Create a Builder with a withConfiguration method that
takes our Configuration.
|
static class |
HadoopCredentialConfiguration.ConfigurationEntriesAdapter
An adapter to use our Configuration object as the config object for our superclass.
|
EntriesCredentialConfiguration.Entries, EntriesCredentialConfiguration.EntriesBuilder
BASE_KEY_PREFIX, CLIENT_ID_SUFFIX, CLIENT_SECRET_SUFFIX, ENABLE_NULL_CREDENTIAL_SUFFIX, ENABLE_SERVICE_ACCOUNTS_SUFFIX, HTTP_TRANSPORT_DEFAULT, HTTP_TRANSPORT_KEY, JSON_KEYFILE_SUFFIX, OAUTH_CLIENT_FILE_SUFFIX, PROXY_ADDRESS_DEFAULT, PROXY_ADDRESS_KEY, PROXY_PASSWORD_DEFAULT, PROXY_PASSWORD_KEY, PROXY_USERNAME_DEFAULT, PROXY_USERNAME_KEY, SERVICE_ACCOUNT_EMAIL_SUFFIX, SERVICE_ACCOUNT_KEYFILE_SUFFIX, SERVICE_ACCOUNT_PRIVATE_KEY_ID_SUFFIX, SERVICE_ACCOUNT_PRIVATE_KEY_SUFFIX
Constructor and Description |
---|
HadoopCredentialConfiguration(java.util.List<java.lang.String> prefixes) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Translates the "Entries" configuration of the superclass into a Hadoop "Configuration"
using getConfigurationInto() on a wrapper which passes through each key from the Entries
to the corresponding Hadoop object.
|
static HadoopCredentialConfiguration.Builder |
newBuilder() |
void |
setConf(org.apache.hadoop.conf.Configuration entries)
Deprecated.
never used
|
getConfigurationInto, newEntriesBuilder, setConfiguration
getClientId, getClientSecret, getCredential, getOAuthCredentialFile, getProxyAddress, getProxyPassword, getProxyUsername, getServiceAccountEmail, getServiceAccountJsonKeyFile, getServiceAccountKeyFile, getServiceAccountPrivateKey, getServiceAccountPrivateKeyId, getTransportType, isNullCredentialEnabled, isServiceAccountEnabled, setClientId, setClientSecret, setEnableServiceAccounts, setNullCredentialEnabled, setOAuthCredentialFile, setProxyAddress, setProxyPassword, setProxyUsername, setServiceAccountEmail, setServiceAccountJsonKeyFile, setServiceAccountKeyFile, setServiceAccountPrivateKey, setServiceAccountPrivateKeyId, setTransportType, shouldUseMetadataService, toString
public HadoopCredentialConfiguration(java.util.List<java.lang.String> prefixes)
public static HadoopCredentialConfiguration.Builder newBuilder()
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
@Deprecated public void setConf(org.apache.hadoop.conf.Configuration entries)
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2018. All rights reserved.