| Package | Description |
|---|---|
| org.apache.hadoop.security.token.delegation |
ZooKeeper secret manager for TokenIdentifiers and DelegationKeys.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<TokenIdent,AbstractDelegationTokenSecretManager.DelegationTokenInformation> |
AbstractDelegationTokenSecretManager.currentTokens
Cache of currently valid tokens, mapping from DelegationTokenIdentifier
to DelegationTokenInformation.
|
| Modifier and Type | Method and 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 |
SQLDelegationTokenSecretManager.getTokenInfoFromSQL(TokenIdent ident)
Obtains the DelegationTokenInformation associated with the given
TokenIdentifier in the SQL database.
|
| Modifier and Type | Method and Description |
|---|---|
protected 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.
|
protected Map<TokenIdent,AbstractDelegationTokenSecretManager.DelegationTokenInformation> |
AbstractDelegationTokenSecretManager.getCandidateTokensForCleanup() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SQLDelegationTokenSecretManager.storeToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo)
Persists a TokenIdentifier and its corresponding TokenInformation into
the SQL database.
|
protected void |
AbstractDelegationTokenSecretManager.storeToken(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 |
AbstractDelegationTokenSecretManager.updateToken(TokenIdent ident,
AbstractDelegationTokenSecretManager.DelegationTokenInformation tokenInfo)
For subclasses externalizing the storage, for example Zookeeper
based implementations.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.