org.apache.hadoop.yarn.security.client
Class ClientToAMTokenSecretManager
java.lang.Object
org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager
public class ClientToAMTokenSecretManager
- extends BaseClientToAMTokenSecretManager
| 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.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 |
ClientToAMTokenSecretManager
public ClientToAMTokenSecretManager(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptID,
byte[] secretKeyBytes)
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.