Class 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 Detail

      • HadoopUserUtils

        public HadoopUserUtils()
    • Method Detail

      • isProxyUser

        public static boolean isProxyUser​(org.apache.hadoop.security.UserGroupInformation ugi)
      • hasUserKerberosAuthMethod

        public static boolean hasUserKerberosAuthMethod​(org.apache.hadoop.security.UserGroupInformation ugi)
      • getIssueDate

        public static long getIssueDate​(Clock clock,
                                        String tokenKind,
                                        org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier identifier)