org.apache.hadoop.yarn.security.client
Class ClientToAMTokenSecretManager

java.lang.Object
  extended by org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
      extended by org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
          extended by org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager

public class ClientToAMTokenSecretManager
extends 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
ClientToAMTokenSecretManager(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID, byte[] secretKeyBytes)
           
 
Method Summary
 SecretKey getMasterKey(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

ClientToAMTokenSecretManager

public ClientToAMTokenSecretManager(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID,
                                    byte[] secretKeyBytes)
Method Detail

getMasterKey

public SecretKey getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID)
Specified by:
getMasterKey in class BaseClientToAMTokenSecretManager


Copyright © 2013 Apache Software Foundation. All Rights Reserved.