Package | Description |
---|---|
org.apache.hadoop.crypto.key.kms | |
org.apache.hadoop.security | |
org.apache.hadoop.security.token |
Modifier and Type | Method and Description |
---|---|
Token<? extends TokenIdentifier> |
LoadBalancingKMSClientProvider.selectDelegationToken(Credentials creds) |
Modifier and Type | Method and Description |
---|---|
Credentials |
UserGroupInformation.getCredentials()
Obtain the tokens in credentials form associated with this user.
|
static Credentials |
Credentials.readTokenStorageFile(File filename,
Configuration conf)
Convenience method for reading a token storage file and loading its Tokens.
|
static Credentials |
Credentials.readTokenStorageFile(Path filename,
Configuration conf)
Convenience method for reading a token storage file and loading its Tokens.
|
Modifier and Type | Method and Description |
---|---|
void |
Credentials.addAll(Credentials other)
Copy all of the credentials from one credential object into another.
|
void |
UserGroupInformation.addCredentials(Credentials credentials)
Add the given Credentials to this user.
|
void |
Credentials.mergeAll(Credentials other)
Copy all of the credentials from one credential object into another.
|
Constructor and Description |
---|
Credentials(Credentials credentials)
Create a copy of the given credentials.
|
Modifier and Type | Method and Description |
---|---|
Token<?> |
DtFetcher.addDelegationTokens(Configuration conf,
Credentials creds,
String renewer,
String url)
Add any number of delegation tokens to Credentials object and return
a token instance that is appropriate for aliasing, or null if none.
|
static void |
DtFileOperations.doFormattedWrite(File f,
String format,
Credentials creds,
Configuration conf)
Write out a Credentials object as a local file.
|
static void |
DtFileOperations.printCredentials(Credentials creds,
Text alias,
PrintStream out)
Print out a Credentials object.
|
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.