org.apache.hadoop.yarn.security.client
Class BaseClientToAMTokenSecretManager
java.lang.Object
org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
org.apache.hadoop.yarn.security.client.BaseClientToAMTokenSecretManager
- Direct Known Subclasses:
- ClientToAMTokenSecretManager
public abstract class BaseClientToAMTokenSecretManager
- extends org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
| Nested classes/interfaces inherited from class org.apache.hadoop.security.token.SecretManager |
org.apache.hadoop.security.token.SecretManager.InvalidToken |
| 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 |
BaseClientToAMTokenSecretManager
public BaseClientToAMTokenSecretManager()
getMasterKey
public abstract SecretKey getMasterKey(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
createPassword
public byte[] createPassword(ClientTokenIdentifier identifier)
- Specified by:
createPassword in class org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
retrievePassword
public byte[] retrievePassword(ClientTokenIdentifier identifier)
throws org.apache.hadoop.security.token.SecretManager.InvalidToken
- Specified by:
retrievePassword in class org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
- Throws:
org.apache.hadoop.security.token.SecretManager.InvalidToken
createIdentifier
public ClientTokenIdentifier createIdentifier()
- Specified by:
createIdentifier in class org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
Copyright © 2013 Apache Software Foundation. All Rights Reserved.