Class HadoopDelegationTokenConverter
- java.lang.Object
-
- org.apache.flink.runtime.security.token.hadoop.HadoopDelegationTokenConverter
-
-
Constructor Summary
Constructors Constructor Description HadoopDelegationTokenConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.hadoop.security.Credentials
deserialize(byte[] credentialsBytes)
Deserializes delegation tokens.static byte[]
serialize(org.apache.hadoop.security.Credentials credentials)
Serializes delegation tokens.
-
-
-
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
-
-