Package org.apache.flink.runtime.hadoop
Class HadoopUserUtils
- java.lang.Object
-
- org.apache.flink.runtime.hadoop.HadoopUserUtils
-
public class HadoopUserUtils extends Object
Utility class for working with Hadoop user related classes. This should only be used if Hadoop is on the classpath.
-
-
Constructor Summary
Constructors Constructor Description HadoopUserUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getIssueDate(Clock clock, String tokenKind, org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier identifier)
static boolean
hasUserKerberosAuthMethod(org.apache.hadoop.security.UserGroupInformation ugi)
static boolean
isProxyUser(org.apache.hadoop.security.UserGroupInformation ugi)
-