Class AbstractDelegationTokenBinding.TokenSecretManager
java.lang.Object
org.apache.hadoop.security.token.SecretManager<AbstractS3ATokenIdentifier>
org.apache.hadoop.fs.s3a.auth.delegation.AbstractDelegationTokenBinding.TokenSecretManager
- Enclosing class:
- AbstractDelegationTokenBinding
protected class AbstractDelegationTokenBinding.TokenSecretManager
extends org.apache.hadoop.security.token.SecretManager<AbstractS3ATokenIdentifier>
The secret manager always uses the same secret; the
factory for new identifiers is that of the token manager.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.security.token.SecretManager
org.apache.hadoop.security.token.SecretManager.InvalidToken -
Field Summary
Fields inherited from class org.apache.hadoop.security.token.SecretManager
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]createPassword(AbstractS3ATokenIdentifier identifier) byte[]retrievePassword(AbstractS3ATokenIdentifier identifier) Methods inherited from class org.apache.hadoop.security.token.SecretManager
checkAvailableForRead, createPassword, createSecretKey, generateSecret, retriableRetrievePassword, update, validateSecretKeyLength
-
Constructor Details
-
TokenSecretManager
protected TokenSecretManager()
-
-
Method Details
-
createPassword
- Specified by:
createPasswordin classorg.apache.hadoop.security.token.SecretManager<AbstractS3ATokenIdentifier>
-
retrievePassword
public byte[] retrievePassword(AbstractS3ATokenIdentifier identifier) throws org.apache.hadoop.security.token.SecretManager.InvalidToken - Specified by:
retrievePasswordin classorg.apache.hadoop.security.token.SecretManager<AbstractS3ATokenIdentifier>- Throws:
org.apache.hadoop.security.token.SecretManager.InvalidToken
-
createIdentifier
- Specified by:
createIdentifierin classorg.apache.hadoop.security.token.SecretManager<AbstractS3ATokenIdentifier>
-