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 createMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
           
 SecretKey getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
           
 void registerApplication(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID, SecretKey key)
           
 SecretKey registerMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID, byte[] keyData)
           
 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, retriableRetrievePassword
 
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

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.