@LimitedPrivate({"HDFS","MapReduce"})
@Evolving
public class HadoopKerberosName
extends org.apache.hadoop.security.authentication.util.KerberosName
| Constructor | Description |
|---|---|
HadoopKerberosName(java.lang.String name) |
Create a name from the full Kerberos principal name.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
|
static void |
setConfiguration(Configuration conf) |
Set the static configuration to get and evaluate the rules.
|
public HadoopKerberosName(java.lang.String name)
name - name.public static void setConfiguration(Configuration conf) throws java.io.IOException
IMPORTANT: This method does a NOP if the rules have been set already.
If there is a need to reset the rules, the KerberosName.setRules(String)
method should be invoked directly.
conf - the new configurationjava.io.IOException - raised on errors performing I/O.public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.