public class UserAdmin extends CommandLineTool
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_ACTIVE |
static String |
ACTION_CREATE |
static String |
ACTION_DELETE |
static String |
ACTION_EXPORT_PASSWORDS |
static String |
ACTION_LIST |
static String |
ACTION_SET_DISPLAYNAME_AND_OR_EMAIL |
static String |
ACTION_UPDATE_PASSWORD |
authorizationRepository, authorizations, configuration, DEFAULT_INIT_FRAMEWORK, frameworkInitialized, graph, jCommander, lifeSupportService, lockRepository, privilegeRepository, schemaRepository, simpleOrmSession, THREAD_NAME, user, userRepository, visibilityTranslator, willExit, workQueueRepository| Constructor and Description |
|---|
UserAdmin() |
| Modifier and Type | Method and Description |
|---|---|
User |
findUser(FindUserArgs findUserArgs) |
static void |
main(String[] args) |
protected com.beust.jcommander.JCommander |
parseArguments(String[] args) |
protected void |
printHelp(com.beust.jcommander.JCommander j) |
void |
printUser(User user) |
protected int |
run() |
getAuthorizationRepository, getAuthorizations, getConfiguration, getGraph, getLifeSupportService, getPrivilegeRepository, getSchemaRepository, getSimpleOrmSession, getUser, getUserRepository, getVisibilityTranslator, getWorkQueueRepository, initializeFramework, main, main, run, run, setAuthorizationRepository, setGraph, setLifeSupportService, setLockRepository, setPrivilegeRepository, setSchemaRepository, setSimpleOrmSession, setUserRepository, setVisibilityTranslator, setWorkQueueRepository, shutdown, willExitpublic static final String ACTION_CREATE
public static final String ACTION_LIST
public static final String ACTION_ACTIVE
public static final String ACTION_EXPORT_PASSWORDS
public static final String ACTION_UPDATE_PASSWORD
public static final String ACTION_DELETE
public static final String ACTION_SET_DISPLAYNAME_AND_OR_EMAIL
protected com.beust.jcommander.JCommander parseArguments(String[] args)
parseArguments in class CommandLineToolprotected void printHelp(com.beust.jcommander.JCommander j)
printHelp in class CommandLineToolprotected int run()
throws Exception
run in class CommandLineToolExceptionpublic User findUser(FindUserArgs findUserArgs)
public void printUser(User user)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.