public class HadoopUserUtils extends Object
Constructor and Description |
---|
HadoopUserUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
getIssueDate(java.time.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) |
public static boolean isProxyUser(org.apache.hadoop.security.UserGroupInformation ugi)
public static boolean hasUserKerberosAuthMethod(org.apache.hadoop.security.UserGroupInformation ugi)
public static long getIssueDate(java.time.Clock clock, String tokenKind, org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier identifier)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.