@InterfaceAudience.Public @InterfaceStability.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 and Description |
|---|
BaseClientToAMTokenSecretManager() |
| Modifier and Type | Method and Description |
|---|---|
ClientToAMTokenIdentifier |
createIdentifier() |
byte[] |
createPassword(ClientToAMTokenIdentifier identifier) |
abstract SecretKey |
getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) |
byte[] |
retrievePassword(ClientToAMTokenIdentifier identifier) |
@InterfaceAudience.Private public abstract SecretKey getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
@InterfaceAudience.Private public byte[] createPassword(ClientToAMTokenIdentifier identifier)
createPassword in class org.apache.hadoop.security.token.SecretManager<ClientToAMTokenIdentifier>@InterfaceAudience.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@InterfaceAudience.Private public ClientToAMTokenIdentifier createIdentifier()
createIdentifier in class org.apache.hadoop.security.token.SecretManager<ClientToAMTokenIdentifier>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.