Modifier and Type | Method and Description |
---|---|
void |
Hdfs.cancelDelegationToken(Token<? extends AbstractDelegationTokenIdentifier> token)
Deprecated.
Use Token.cancel instead.
|
long |
Hdfs.renewDelegationToken(Token<? extends AbstractDelegationTokenIdentifier> token)
Deprecated.
Use Token.renew instead.
|
Modifier and Type | Method and Description |
---|---|
void |
DFSClient.cancelDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.cancel instead.
|
long |
DistributedFileSystem.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.renew instead.
|
long |
DFSClient.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.renew instead.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockTokenSecretManager.checkAccess(BlockTokenIdentifier id,
String userId,
ExtendedBlock block,
BlockTokenSecretManager.AccessMode mode)
Check if access should be allowed.
|
void |
BlockPoolTokenSecretManager.checkAccess(BlockTokenIdentifier id,
String userId,
ExtendedBlock block,
BlockTokenSecretManager.AccessMode mode)
|
void |
BlockTokenSecretManager.checkAccess(Token<BlockTokenIdentifier> token,
String userId,
ExtendedBlock block,
BlockTokenSecretManager.AccessMode mode)
Check if access should be allowed.
|
void |
BlockPoolTokenSecretManager.checkAccess(Token<BlockTokenIdentifier> token,
String userId,
ExtendedBlock block,
BlockTokenSecretManager.AccessMode mode)
|
byte[] |
BlockTokenSecretManager.retrievePassword(BlockTokenIdentifier identifier)
Look up the token password/secret for the given block token identifier.
|
byte[] |
BlockPoolTokenSecretManager.retrievePassword(BlockTokenIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
byte[] |
DelegationTokenSecretManager.retrievePassword(DelegationTokenIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
void |
FSNamesystem.verifyToken(DelegationTokenIdentifier identifier,
byte[] password)
Verifies that the given identifier and password are valid and match.
|
Modifier and Type | Method and Description |
---|---|
void |
JobClient.cancelDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
|
long |
JobClient.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
Cluster.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
JobTokenSecretManager.retrievePassword(JobTokenIdentifier identifier)
Look up the token password/secret for the given job token identifier.
|
SecretKey |
JobTokenSecretManager.retrieveTokenSecret(String jobId)
Look up the token password/secret for the given jobId.
|
Modifier and Type | Method and Description |
---|---|
static <T extends TokenIdentifier> |
SaslRpcServer.getIdentifier(String id,
SecretManager<T> secretManager) |
void |
SaslRpcServer.SaslDigestCallbackHandler.handle(Callback[] callbacks) |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
SecretManager.retrievePassword(T identifier)
Retrieve the password for the given token identifier.
|
Modifier and Type | Method and Description |
---|---|
long |
AbstractDelegationTokenSecretManager.renewToken(Token<TokenIdent> token,
String renewer)
Renew a delegation token.
|
byte[] |
AbstractDelegationTokenSecretManager.retrievePassword(TokenIdent identifier) |
void |
AbstractDelegationTokenSecretManager.verifyToken(TokenIdent identifier,
byte[] password)
Verifies that the given identifier and password are valid and match.
|
Modifier and Type | Method and Description |
---|---|
ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData |
ContainerManagementProtocolProxy.getProxy(String containerManagerBindAddr,
ContainerId containerId) |
protected ContainerManagementProtocol |
ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData.newProxy(YarnRPC rpc,
String containerManagerBindAddr,
ContainerId containerId,
Token token) |
Constructor and Description |
---|
ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData(YarnRPC rpc,
String containerManagerBindAddr,
ContainerId containerId,
Token token) |
Modifier and Type | Method and Description |
---|---|
byte[] |
BaseClientToAMTokenSecretManager.retrievePassword(ClientToAMTokenIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
protected void |
ContainerManagerImpl.updateNMTokenIdentifier(NMTokenIdentifier nmTokenIdentifier) |
protected ContainerTokenIdentifier |
ContainerManagerImpl.verifyAndGetContainerTokenIdentifier(Token token,
ContainerTokenIdentifier containerTokenIdentifier) |
Modifier and Type | Method and Description |
---|---|
byte[] |
LocalizerTokenSecretManager.retrievePassword(LocalizerTokenIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
void |
NMTokenSecretManagerInNM.appAttemptStartContainer(NMTokenIdentifier identifier)
This will be called by startContainer.
|
byte[] |
NMContainerTokenSecretManager.retrievePassword(ContainerTokenIdentifier identifier)
Override of this is to validate ContainerTokens generated by using
different
MasterKey s. |
byte[] |
NMTokenSecretManagerInNM.retrievePassword(NMTokenIdentifier identifier)
This method will be used to verify NMTokens generated by different master
keys.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
AMRMTokenSecretManager.retrievePassword(AMRMTokenIdentifier identifier)
Retrieve the password for the given
AMRMTokenIdentifier . |
Modifier and Type | Method and Description |
---|---|
byte[] |
BaseContainerTokenSecretManager.retrievePassword(ContainerTokenIdentifier identifier) |
byte[] |
BaseNMTokenSecretManager.retrievePassword(NMTokenIdentifier identifier) |
protected byte[] |
BaseContainerTokenSecretManager.retrievePasswordInternal(ContainerTokenIdentifier identifier,
MasterKeyData masterKey) |
Copyright © 2013 Apache Software Foundation. All rights reserved.