ClientToAMTokenSecretManager@Public @Evolving public abstract class BaseClientToAMTokenSecretManager extends org.apache.hadoop.security.token.SecretManager<ClientToAMTokenIdentifier>
SecretManager for AMs to extend and validate Client-RM tokens
issued to clients by the RM using the underlying master-key shared by RM to
the AMs on their launch. All the methods are called by either Hadoop RPC or
YARN, so this class is strictly for the purpose of inherit/extend and
register with Hadoop RPC.| Constructor | Description |
|---|---|
BaseClientToAMTokenSecretManager() |
| Modifier and Type | Method | Description |
|---|---|---|
ClientToAMTokenIdentifier |
createIdentifier() |
|
byte[] |
createPassword(ClientToAMTokenIdentifier identifier) |
|
abstract javax.crypto.SecretKey |
getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) |
|
byte[] |
retrievePassword(ClientToAMTokenIdentifier identifier) |
@Private public abstract javax.crypto.SecretKey getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
@Private public byte[] createPassword(ClientToAMTokenIdentifier identifier)
createPassword in class org.apache.hadoop.security.token.SecretManager<ClientToAMTokenIdentifier>@Private public byte[] retrievePassword(ClientToAMTokenIdentifier identifier) throws org.apache.hadoop.security.token.SecretManager.InvalidToken
retrievePassword in class org.apache.hadoop.security.token.SecretManager<ClientToAMTokenIdentifier>org.apache.hadoop.security.token.SecretManager.InvalidToken@Private public ClientToAMTokenIdentifier createIdentifier()
createIdentifier in class org.apache.hadoop.security.token.SecretManager<ClientToAMTokenIdentifier>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.