org.apache.hadoop.yarn.server.resourcemanager.security
Class ClientToAMTokenSecretManagerInRM
java.lang.Object
org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier>
org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
org.apache.hadoop.yarn.server.resourcemanager.security.ClientToAMTokenSecretManagerInRM
public class ClientToAMTokenSecretManagerInRM
- extends org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
Nested classes/interfaces inherited from class org.apache.hadoop.security.token.SecretManager |
org.apache.hadoop.security.token.SecretManager.InvalidToken |
Methods inherited from class org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager |
createIdentifier, createPassword, retrievePassword |
Methods inherited from class org.apache.hadoop.security.token.SecretManager |
checkAvailableForRead, createPassword, createSecretKey, generateSecret, retriableRetrievePassword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientToAMTokenSecretManagerInRM
public ClientToAMTokenSecretManagerInRM()
createMasterKey
public SecretKey createMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
registerApplication
public void registerApplication(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID,
SecretKey key)
registerMasterKey
public SecretKey registerMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID,
byte[] keyData)
unRegisterApplication
public void unRegisterApplication(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
getMasterKey
public SecretKey getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
- Specified by:
getMasterKey
in class org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
Copyright © 2014 Apache Software Foundation. All Rights Reserved.