public final class HiveDelegationTokenSupport extends Object
AbstractDelegationTokenSecretManager.DelegationTokenInformation
through package access.
Future version of Hadoop should add this to DelegationTokenInformation itself.Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation |
decodeDelegationTokenInformation(byte[] tokenBytes) |
static byte[] |
encodeDelegationTokenInformation(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation token) |
static void |
rollMasterKey(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<? extends org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> mgr) |
public static byte[] encodeDelegationTokenInformation(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation token)
public static org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation decodeDelegationTokenInformation(byte[] tokenBytes) throws IOException
IOException
public static void rollMasterKey(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager<? extends org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> mgr) throws IOException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.