Package | Description |
---|---|
org.apache.hadoop.crypto.key.kms | |
org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
org.apache.hadoop.security | |
org.apache.hadoop.security.token | |
org.apache.hadoop.security.token.delegation |
Modifier and Type | Method and Description |
---|---|
Text |
KMSDelegationToken.KMSDelegationTokenIdentifier.getKind() |
Modifier and Type | Method and Description |
---|---|
boolean |
KMSClientProvider.KMSTokenRenewer.handleKind(Text kind) |
Modifier and Type | Method and Description |
---|---|
Text |
SequenceFile.Metadata.get(Text name) |
Modifier and Type | Method and Description |
---|---|
TreeMap<Text,Text> |
SequenceFile.Metadata.getMetadata() |
TreeMap<Text,Text> |
SequenceFile.Metadata.getMetadata() |
Modifier and Type | Method and Description |
---|---|
Text |
SequenceFile.Metadata.get(Text name) |
void |
Text.set(Text other)
copy a text.
|
void |
SequenceFile.Metadata.set(Text name,
Text value) |
Constructor and Description |
---|
Text(Text utf8)
Construct from another text.
|
Constructor and Description |
---|
Metadata(TreeMap<Text,Text> arg) |
Metadata(TreeMap<Text,Text> arg) |
Modifier and Type | Method and Description |
---|---|
static Text |
SecurityUtil.buildTokenService(InetSocketAddress addr)
Construct the service key for a token
|
static Text |
SecurityUtil.buildTokenService(URI uri)
Construct the service key for a token
|
Modifier and Type | Method and Description |
---|---|
List<Text> |
Credentials.getAllSecretKeys()
Return all the secret key entries in the in-memory map.
|
Modifier and Type | Method and Description |
---|---|
void |
Credentials.addSecretKey(Text alias,
byte[] key)
Set the key for an alias.
|
boolean |
UserGroupInformation.addToken(Text alias,
Token<? extends TokenIdentifier> token)
Add a named token to this UGI
|
void |
Credentials.addToken(Text alias,
Token<? extends TokenIdentifier> t)
Add a token in the storage (in memory).
|
byte[] |
Credentials.getSecretKey(Text alias)
Returns the key bytes for the alias.
|
Token<? extends TokenIdentifier> |
Credentials.getToken(Text alias)
Returns the Token object for the alias.
|
void |
Credentials.removeSecretKey(Text alias)
Remove the key for a given alias.
|
Modifier and Type | Method and Description |
---|---|
Text |
Token.getKind()
Get the token kind.
|
protected Text |
Token.TrivialRenewer.getKind() |
abstract Text |
TokenIdentifier.getKind()
Get the token kind
|
Text |
Token.getService()
Get the service on which the token is supposed to be used.
|
Text |
DtFetcher.getServiceName()
Return a key used to identify the object/service implementation.
|
Modifier and Type | Method and Description |
---|---|
static void |
DtFileOperations.aliasTokenFile(File tokenFile,
String fileFormat,
Text alias,
Text service,
Configuration conf)
Alias a token from a file and save back to file in the local filesystem.
|
static void |
DtFileOperations.getTokenFile(File tokenFile,
String fileFormat,
Text alias,
Text service,
String url,
String renewer,
Configuration conf)
Fetch a token from a service and save to file in the local filesystem.
|
boolean |
Token.TrivialRenewer.handleKind(Text kind) |
abstract boolean |
TokenRenewer.handleKind(Text kind)
Does this renewer handle this kind of token?
|
boolean |
Token.isPrivateCloneOf(Text thePublicService)
Whether this is a private clone of a public token.
|
static void |
DtFileOperations.printCredentials(Credentials creds,
Text alias,
PrintStream out)
Print out a Credentials object.
|
static void |
DtFileOperations.printTokenFile(File tokenFile,
Text alias,
Configuration conf,
PrintStream out)
Print out a Credentials file from the local filesystem.
|
Token<T> |
Token.privateClone(Text newService)
Create a private clone of a public token.
|
static void |
DtFileOperations.removeTokenFromFile(boolean cancel,
File tokenFile,
String fileFormat,
Text alias,
Configuration conf)
Remove a token from a file in the local filesystem, matching alias.
|
static void |
DtFileOperations.renewTokenFile(File tokenFile,
String fileFormat,
Text alias,
Configuration conf)
Renew a token from a file in the local filesystem, matching alias.
|
Token<T> |
TokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
void |
Token.setService(Text newService)
Set the service on which the token is supposed to be used.
|
Constructor and Description |
---|
Token(byte[] identifier,
byte[] password,
Text kind,
Text service)
Construct a token from the components.
|
Modifier and Type | Method and Description |
---|---|
abstract Text |
AbstractDelegationTokenIdentifier.getKind() |
Text |
AbstractDelegationTokenIdentifier.getOwner() |
Text |
AbstractDelegationTokenIdentifier.getRealUser() |
Text |
AbstractDelegationTokenIdentifier.getRenewer() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDelegationTokenIdentifier.setOwner(Text owner) |
void |
AbstractDelegationTokenIdentifier.setRealUser(Text realUser) |
void |
AbstractDelegationTokenIdentifier.setRenewer(Text renewer) |
Constructor and Description |
---|
AbstractDelegationTokenIdentifier(Text owner,
Text renewer,
Text realUser) |
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.