Class HadoopDelegationTokenConverter

java.lang.Object
org.apache.flink.runtime.security.token.hadoop.HadoopDelegationTokenConverter

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

    • HadoopDelegationTokenConverter

      public HadoopDelegationTokenConverter()
  • Method Details

    • 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