org.apache.hadoop.yarn.security.client
Class ClientToAMSecretManager
java.lang.Object
org.apache.hadoop.security.token.SecretManager<ClientTokenIdentifier>
org.apache.hadoop.yarn.security.client.ClientToAMSecretManager
public class ClientToAMSecretManager
- 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 |
createPassword, createSecretKey, generateSecret |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientToAMSecretManager
public ClientToAMSecretManager()
setMasterKey
public void setMasterKey(ClientTokenIdentifier identifier,
byte[] key)
getMasterKey
public SecretKey getMasterKey(ClientTokenIdentifier identifier)
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 © 2012 Apache Software Foundation. All Rights Reserved.