@InterfaceAudience.Private @InterfaceStability.Unstable public class MarshalledCredentialProvider extends AbstractSessionCredentialsProvider
AbstractSessionCredentialsProvider.NoCredentials| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name: "org.apache.hadoop.fs.s3a.auth.MarshalledCredentialProvider".
|
| Constructor and Description |
|---|
MarshalledCredentialProvider(String component,
URI uri,
org.apache.hadoop.conf.Configuration conf,
MarshalledCredentials credentials,
MarshalledCredentials.CredentialTypeRequired typeRequired)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.amazonaws.auth.AWSCredentials |
createCredentials(org.apache.hadoop.conf.Configuration config)
Perform the binding, looking up the DT and parsing it.
|
getCredentials, getInitializationException, hasCredentials, init, isInitialized, toStringgetConf, getUri, refreshpublic static final String NAME
public MarshalledCredentialProvider(String component, URI uri, org.apache.hadoop.conf.Configuration conf, MarshalledCredentials credentials, MarshalledCredentials.CredentialTypeRequired typeRequired) throws IOException
component - component name for exception messages.uri - filesystem URI: must not be null.conf - configuration.credentials - marshalled credentials.typeRequired - credential type required.CredentialInitializationException - validation failureIOException - failureprotected com.amazonaws.auth.AWSCredentials createCredentials(org.apache.hadoop.conf.Configuration config)
throws IOException
createCredentials in class AbstractSessionCredentialsProviderconfig - the configurationCredentialInitializationException - validation failureIOException - on a failureCopyright © 2008–2022 Apache Software Foundation. All rights reserved.