public class KerberosDiags extends Object implements Closeable
HADOOP_JAAS_DEBUG=true
Set the log level for org.apache.hadoop.security=DEBUG| Modifier and Type | Class and Description |
|---|---|
static class |
KerberosDiags.KerberosDiagsFailure
Diags failures include an exit code 41, "unauth"
|
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_SECURITY_KRB5_CONF |
static String |
JAVA_SECURITY_KRB5_REALM |
static String |
KRB5_CCNAME |
static String |
SUN_SECURITY_KRB5_DEBUG |
static String |
SUN_SECURITY_SPNEGO_DEBUG |
| Constructor and Description |
|---|
KerberosDiags(org.apache.hadoop.conf.Configuration conf,
PrintWriter out,
List<String> services,
File keytab,
String principal) |
public static final String KRB5_CCNAME
public static final String JAVA_SECURITY_KRB5_CONF
public static final String JAVA_SECURITY_KRB5_REALM
public static final String SUN_SECURITY_KRB5_DEBUG
public static final String SUN_SECURITY_SPNEGO_DEBUG
public KerberosDiags(org.apache.hadoop.conf.Configuration conf,
PrintWriter out,
List<String> services,
File keytab,
String principal)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic boolean execute()
throws Exception
Things it would be nice if UGI made accessible
KerberosDiags.KerberosDiagsFailure - explicitly raised failureException - other security problemsCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.