| Package | Description |
|---|---|
| org.apache.hadoop.security.token.delegation |
ZooKeeper secret manager for TokenIdentifiers and DelegationKeys.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Map<TokenIdent,AbstractDelegationTokenSecretManager.DelegationTokenInformation> |
AbstractDelegationTokenSecretManager.currentTokens |
Cache of currently valid tokens, mapping from DelegationTokenIdentifier
to DelegationTokenInformation.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
AbstractDelegationTokenSecretManager.checkToken(TokenIdent identifier) |
Find the DelegationTokenInformation for the given token id, and verify that
if the token is expired.
|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
AbstractDelegationTokenSecretManager.getTokenInfo(TokenIdent ident) |
For subclasses externalizing the storage, for example Zookeeper
based implementations
|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
ZKDelegationTokenSecretManager.getTokenInfo(TokenIdent ident) |
|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
SQLDelegationTokenSecretManager.getTokenInfoFromSQL(TokenIdent ident) |
Obtains the DelegationTokenInformation associated with the given
TokenIdentifier in the SQL database.
|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
ZKDelegationTokenSecretManager.getTokenInfoFromZK(java.lang.String nodePath,
boolean quiet) |
|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
ZKDelegationTokenSecretManager.getTokenInfoFromZK(TokenIdent ident) |
|
protected AbstractDelegationTokenSecretManager.DelegationTokenInformation |
ZKDelegationTokenSecretManager.getTokenInfoFromZK(TokenIdent ident,
boolean quiet) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Map<TokenIdent,AbstractDelegationTokenSecretManager.DelegationTokenInformation> |
AbstractDelegationTokenSecretManager.getCandidateTokensForCleanup() |
|
protected java.util.Map<TokenIdent,AbstractDelegationTokenSecretManager.DelegationTokenInformation> |
SQLDelegationTokenSecretManager.getCandidateTokensForCleanup() |
Obtain a list of tokens that will be considered for cleanup, based on the last
time the token was updated in SQL.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
ZKDelegationTokenSecretManager.addOrUpdateToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation info,
boolean isUpdate) |
|
protected void |
AbstractDelegationTokenSecretManager.storeToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo) |
For subclasses externalizing the storage, for example Zookeeper
based implementations.
|
protected void |
SQLDelegationTokenSecretManager.storeToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo) |
Persists a TokenIdentifier and its corresponding TokenInformation into
the SQL database.
|
protected void |
ZKDelegationTokenSecretManager.storeToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo) |
|
protected void |
AbstractDelegationTokenSecretManager.updateToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo) |
For subclasses externalizing the storage, for example Zookeeper
based implementations.
|
protected void |
SQLDelegationTokenSecretManager.updateToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo) |
Updates the TokenInformation of an existing TokenIdentifier in
the SQL database.
|
protected void |
ZKDelegationTokenSecretManager.updateToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.