@InterfaceAudience.LimitedPrivate(value={"HDFS","MapReduce"}) @InterfaceStability.Evolving public class HadoopKerberosName extends KerberosName
KerberosName.BadFormatString, KerberosName.NoMatchingRule| Constructor and Description |
|---|
HadoopKerberosName(String name)
Create a name from the full Kerberos principal name.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
setConfiguration(Configuration conf)
Set the static configuration to get the rules.
|
getDefaultRealm, getHostName, getRealm, getRules, getServiceName, getShortName, hasRulesBeenSet, setRules, toStringpublic HadoopKerberosName(String name)
name - public static void setConfiguration(Configuration conf) throws IOException
KerberosName.setRules(String)
method should be invoked directly.conf - the new configurationIOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.