Class RouterDelegationTokenSupport

java.lang.Object
org.apache.hadoop.security.token.delegation.RouterDelegationTokenSupport

public final class RouterDelegationTokenSupport extends Object
Workaround for serialization of AbstractDelegationTokenSecretManager.DelegationTokenInformation through package access. Future version of Hadoop should add this to DelegationTokenInformation itself.
  • 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