Class HadoopDelegationTokenConverter


  • @Internal
    public class HadoopDelegationTokenConverter
    extends Object
    Delegation token serializer and deserializer functionality.
    • Constructor Detail

      • HadoopDelegationTokenConverter

        public HadoopDelegationTokenConverter()
    • Method Detail

      • serialize

        public static byte[] serialize​(org.apache.hadoop.security.Credentials credentials)
                                throws IOException
        Serializes delegation tokens.
        Throws:
        IOException
      • deserialize

        public static org.apache.hadoop.security.Credentials deserialize​(byte[] credentialsBytes)
                                                                  throws IOException
        Deserializes delegation tokens.
        Throws:
        IOException