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

    subcommands

    Fields inherited from class org.elasticsearch.cli.Command

    description, parser
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.AddUserCommand
     
    protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.DeleteUserCommand
     
    protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.ListCommand
     
    protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.PasswordCommand
     
    protected org.elasticsearch.xpack.security.authc.file.tool.UsersTool.RolesCommand
     

    Methods inherited from class org.elasticsearch.cli.MultiCommand

    close, execute, printAdditionalHelp, printUserException

    Methods inherited from class org.elasticsearch.cli.Command

    addShutdownHook, exit, main, mainWithoutErrorHandling

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      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()