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, skipParent
private final java.lang.String _userName
private final UserManagementFileInterface _userManagementInterface
public EditUser(java.lang.String userName, UserManagementFileInterface userManagementInterface)
public java.lang.String toString()
CommandLineAction
Gibt den Befehlsnamen zurück
toString
in class CommandLineAction
public void printStatus(ConsoleInterface console) throws java.lang.Exception
CommandLineAction
Gibt einen Text vor der Auswahl der Aktion aus (zum überschreiben)
printStatus
in class CommandLineAction
console
- Konsolejava.lang.Exception
public java.util.List<? extends CommandLineAction> getChildren()
CommandLineAction
Gibt die Kindbefehle zurück
getChildren
in class CommandLineAction
private java.lang.Object printParameter(SrpCryptoParameter cryptoParameter)
private void savePassword(ConsoleInterface console, ClientCredentials loginToken, boolean alwaysSave) throws java.io.IOException
java.io.IOException
private void savePassword(ConsoleInterface console, int index, ClientCredentials loginToken, boolean alwaysSave) throws java.io.IOException
java.io.IOException
public static java.lang.String createRandomPassword()