Class RouterDelegationTokenSupport
java.lang.Object
org.apache.hadoop.security.token.delegation.RouterDelegationTokenSupport
Workaround for serialization of
AbstractDelegationTokenSecretManager.DelegationTokenInformation through package access.
Future version of Hadoop should add this to DelegationTokenInformation itself.-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformationdecodeDelegationTokenInformation(byte[] tokenBytes) static StringencodeDelegationTokenInformation(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation token)
-
Method Details
-
encodeDelegationTokenInformation
public static String encodeDelegationTokenInformation(org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation token) -
decodeDelegationTokenInformation
public static org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.DelegationTokenInformation decodeDelegationTokenInformation(byte[] tokenBytes) throws IOException - Throws:
IOException
-