public class CredentialUtil
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Field and Description |
---|---|
static String |
jceksPrefix
JCEKS provider prefix.
|
static String |
localJceksPrefix
Local JCEKS provider prefix.
|
protected org.apache.hadoop.security.alias.CredentialProvider |
provider
Provider specified using the -provider option
|
Constructor and Description |
---|
CredentialUtil() |
Modifier and Type | Method and Description |
---|---|
protected String |
getUsagePrefix()
Overridden by the command line driver to provide name of the tool.
|
static void |
main(String[] args)
Main program.
|
protected void |
printUsage()
Prints a command specific usage or overall tool usage.
|
int |
run(String[] args)
Called by ToolRunner.run().
|
public static final String jceksPrefix
public static final String localJceksPrefix
protected org.apache.hadoop.security.alias.CredentialProvider provider
public static void main(String[] args) throws Exception
args
- Command line argumentsException
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
args
- - Arguments supplied by the user.Exception
- - If something goes wrong during command execution.protected void printUsage()
protected String getUsagePrefix()
Copyright © 2022 Apache Software Foundation. All rights reserved.