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 |
---|
SequenceFile.Metadata(TreeMap<Text,Text> arg) |
SequenceFile.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 |
---|---|
abstract Text |
TokenIdentifier.getKind()
Get the token kind
|
Text |
Token.getKind()
Get the token kind
|
protected Text |
Token.TrivialRenewer.getKind() |
Text |
Token.getService()
Get the service on which the token is supposed to be used
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
TokenRenewer.handleKind(Text kind)
Does this renewer handle this kind of token?
|
boolean |
Token.TrivialRenewer.handleKind(Text kind) |
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 © 2017 Apache Software Foundation. All Rights Reserved.