Modifier and Type | Method and Description |
---|---|
Token<ContainerTokenIdentifier> |
ContainerTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Modifier and Type | Method and Description |
---|---|
protected ContainerTokenIdentifier |
ContainerManagerImpl.verifyAndGetContainerTokenIdentifier(Token token,
ContainerTokenIdentifier containerTokenIdentifier) |
Modifier and Type | Method and Description |
---|---|
protected void |
ContainerManagerImpl.authorizeStartRequest(NMTokenIdentifier nmTokenIdentifier,
ContainerTokenIdentifier containerTokenIdentifier) |
protected ContainerTokenIdentifier |
ContainerManagerImpl.verifyAndGetContainerTokenIdentifier(Token token,
ContainerTokenIdentifier containerTokenIdentifier) |
Modifier and Type | Method and Description |
---|---|
ContainerTokenIdentifier |
ContainerImpl.getContainerTokenIdentifier() |
ContainerTokenIdentifier |
Container.getContainerTokenIdentifier() |
Constructor and Description |
---|
ContainerImpl(Configuration conf,
Dispatcher dispatcher,
ContainerLaunchContext launchContext,
Credentials creds,
NodeManagerMetrics metrics,
ContainerTokenIdentifier containerTokenIdentifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
NMContainerTokenSecretManager.isValidStartContainerRequest(ContainerTokenIdentifier containerTokenIdentifier)
Container will be remembered based on expiration time of the container
token used for starting the container.
|
byte[] |
NMContainerTokenSecretManager.retrievePassword(ContainerTokenIdentifier identifier)
Override of this is to validate ContainerTokens generated by using
different
MasterKey s. |
void |
NMContainerTokenSecretManager.startContainerSuccessful(ContainerTokenIdentifier tokenId)
Container start has gone through.
|
Modifier and Type | Method and Description |
---|---|
ContainerTokenIdentifier |
BaseContainerTokenSecretManager.createIdentifier()
Used by the RPC layer.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
BaseContainerTokenSecretManager.createPassword(ContainerTokenIdentifier identifier) |
byte[] |
BaseContainerTokenSecretManager.retrievePassword(ContainerTokenIdentifier identifier) |
protected byte[] |
BaseContainerTokenSecretManager.retrievePasswordInternal(ContainerTokenIdentifier identifier,
MasterKeyData masterKey) |
Modifier and Type | Method and Description |
---|---|
static ContainerTokenIdentifier |
BuilderUtils.newContainerTokenIdentifier(Token containerToken) |
Modifier and Type | Method and Description |
---|---|
static Token |
BuilderUtils.newContainerToken(NodeId nodeId,
byte[] password,
ContainerTokenIdentifier tokenIdentifier) |
Copyright © 2013 Apache Software Foundation. All rights reserved.