public class EditUser extends CommandLineAction
TBD Dokumentation
| Modifier and Type | Class and Description |
|---|---|
private static class |
EditUser.CharacterHolder |
private class |
EditUser.ManageOneTimePasswords |
| Modifier and Type | Field and Description |
|---|---|
private UserManagementFileInterface |
_userManagementInterface |
private java.lang.String |
_userName |
| Constructor and Description |
|---|
EditUser(java.lang.String userName,
UserManagementFileInterface userManagementInterface) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
createRandomPassword() |
java.util.List<? extends CommandLineAction> |
getChildren()
Gibt die Kindbefehle zurück
|
private java.lang.Object |
printParameter(SrpCryptoParameter cryptoParameter) |
void |
printStatus(ConsoleInterface console)
Gibt einen Text vor der Auswahl der Aktion aus (zum überschreiben)
|
private void |
savePassword(ConsoleInterface console,
ClientCredentials loginToken,
boolean alwaysSave) |
private void |
savePassword(ConsoleInterface console,
int index,
ClientCredentials loginToken,
boolean alwaysSave) |
java.lang.String |
toString()
Gibt den Befehlsnamen zurück
|
dispose, execute, execute, skipParentprivate final java.lang.String _userName
private final UserManagementFileInterface _userManagementInterface
public EditUser(java.lang.String userName,
UserManagementFileInterface userManagementInterface)
public java.lang.String toString()
CommandLineActionGibt den Befehlsnamen zurück
toString in class CommandLineActionpublic void printStatus(ConsoleInterface console) throws java.lang.Exception
CommandLineActionGibt einen Text vor der Auswahl der Aktion aus (zum überschreiben)
printStatus in class CommandLineActionconsole - Konsolejava.lang.Exceptionpublic java.util.List<? extends CommandLineAction> getChildren()
CommandLineActionGibt die Kindbefehle zurück
getChildren in class CommandLineActionprivate java.lang.Object printParameter(SrpCryptoParameter cryptoParameter)
private void savePassword(ConsoleInterface console, ClientCredentials loginToken, boolean alwaysSave) throws java.io.IOException
java.io.IOExceptionprivate void savePassword(ConsoleInterface console, int index, ClientCredentials loginToken, boolean alwaysSave) throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String createRandomPassword()