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 |
Method Summary |
SecretKey |
getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
|
void |
registerApplication(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
|
void |
unRegisterApplication(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientToAMTokenSecretManagerInRM
public ClientToAMTokenSecretManagerInRM()
registerApplication
public void registerApplication(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
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 © 2013 Apache Software Foundation. All Rights Reserved.