Class UsersTool
java.lang.Object
org.elasticsearch.cli.Command
org.elasticsearch.cli.MultiCommand
org.elasticsearch.common.cli.LoggingAwareMultiCommand
org.elasticsearch.xpack.security.authc.file.tool.UsersTool
- All Implemented Interfaces:
Closeable,AutoCloseable
public class UsersTool
extends org.elasticsearch.common.cli.LoggingAwareMultiCommand
-
Field Summary
Fields inherited from class org.elasticsearch.cli.MultiCommand
subcommandsFields inherited from class org.elasticsearch.cli.Command
description, parser -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.AddUserCommandprotected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.DeleteUserCommandprotected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.ListCommandprotected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.PasswordCommandprotected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.RolesCommandMethods inherited from class org.elasticsearch.cli.MultiCommand
close, execute, printAdditionalHelp, printUserExceptionMethods inherited from class org.elasticsearch.cli.Command
addShutdownHook, exit, main, mainWithoutErrorHandling
-
Method Details
-
main
- Throws:
Exception
-
newAddUserCommand
protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.AddUserCommand newAddUserCommand() -
newDeleteUserCommand
protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.DeleteUserCommand newDeleteUserCommand() -
newPasswordCommand
protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.PasswordCommand newPasswordCommand() -
newRolesCommand
protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.RolesCommand newRolesCommand() -
newListCommand
protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.ListCommand newListCommand()
-