| Package | Description |
|---|---|
| org.apache.hadoop.crypto.key |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.crypto.key.kms | |
| org.apache.hadoop.security | |
| org.apache.hadoop.security.token |
Support for delegation tokens.
|
| org.apache.hadoop.security.token.delegation.web |
| Modifier and Type | Method | Description |
|---|---|---|
Token<?> |
KeyProviderDelegationTokenExtension.DelegationTokenExtension.selectDelegationToken(Credentials creds) |
| Modifier and Type | Method | Description |
|---|---|---|
Token<?> |
KMSClientProvider.selectDelegationToken(Credentials creds) |
|
protected static Token<?> |
KMSClientProvider.selectDelegationToken(Credentials creds,
Text service) |
|
Token<? extends TokenIdentifier> |
LoadBalancingKMSClientProvider.selectDelegationToken(Credentials creds) |
| Modifier and Type | Method | Description |
|---|---|---|
Credentials |
UserGroupInformation.getCredentials() |
Obtain the tokens in credentials form associated with this user.
|
static Credentials |
Credentials.readTokenStorageFile(java.io.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 | 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 | Description |
|---|---|
Credentials(Credentials credentials) |
Create a copy of the given credentials.
|
| Modifier and Type | Method | Description |
|---|---|---|
default Token<?>[] |
DelegationTokenIssuer.addDelegationTokens(java.lang.String renewer,
Credentials credentials) |
Given a renewer, add delegation tokens for issuer and it's child issuers
to the
Credentials object if it is not already present. |
Token<?> |
DtFetcher.addDelegationTokens(Configuration conf,
Credentials creds,
java.lang.String renewer,
java.lang.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 |
DelegationTokenIssuer.collectDelegationTokens(DelegationTokenIssuer issuer,
java.lang.String renewer,
Credentials credentials,
java.util.List<Token<?>> tokens) |
NEVER call this method directly.
|
static void |
DtFileOperations.doFormattedWrite(java.io.File f,
java.lang.String format,
Credentials creds,
Configuration conf) |
Write out a Credentials object as a local file.
|
static void |
DtFileOperations.printCredentials(Credentials creds,
Text alias,
java.io.PrintStream out) |
Print out a Credentials object.
|
| Modifier and Type | Method | Description |
|---|---|---|
Token<? extends TokenIdentifier> |
DelegationTokenAuthenticatedURL.selectDelegationToken(java.net.URL url,
Credentials creds) |
Select a delegation token from all tokens in credentials, based on url.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.