org.apache.hadoop.yarn.server.resourcemanager.security
Class ClientToAMTokenSecretManagerInRM

java.lang.Object
  extended by org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier>
      extended by org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
          extended by org.apache.hadoop.yarn.server.resourcemanager.security.ClientToAMTokenSecretManagerInRM

public class ClientToAMTokenSecretManagerInRM
extends org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.security.token.SecretManager
org.apache.hadoop.security.token.SecretManager.InvalidToken
 
Constructor Summary
ClientToAMTokenSecretManagerInRM()
           
 
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
 

Constructor Detail

ClientToAMTokenSecretManagerInRM

public ClientToAMTokenSecretManagerInRM()
Method Detail

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.