Package de.bsvrz.dav.daf.userManagement
Class UserManagement
java.lang.Object
de.bsvrz.dav.daf.userManagement.CommandLineAction
de.bsvrz.dav.daf.userManagement.UserManagement
public class UserManagement extends CommandLineAction
Main Klasse für das Migrationstool, das auch Benutzerverwaltung ermöglicht
-
Constructor Summary
Constructors Constructor Description UserManagement() -
Method Summary
Modifier and Type Method Description static java.util.List<? extends CommandLineAction>getActions(ClientDavConnection connection, java.lang.String userName, char[] password)static java.util.List<? extends CommandLineAction>getActions(UserManagementFileInterface userManagementInterface)java.util.List<? extends CommandLineAction>getChildren()Gibt die Kindbefehle zurückstatic EditableAuthenticationFilegetPasswd()static voidmain(java.lang.String[] args)Main-Methodestatic voidsaveToPasswd(ConsoleInterface console, ClientCredentials loginToken, java.lang.String user, boolean alwaysSave)java.lang.StringtoString()Gibt den Befehlsnamen zurückMethods inherited from class de.bsvrz.dav.daf.userManagement.CommandLineAction
dispose, execute, execute, printStatus, skipParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
UserManagement
public UserManagement()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionMain-Methode- Parameters:
args- Ausrufargumente- Throws:
java.lang.Exception
-
getActions
public static java.util.List<? extends CommandLineAction> getActions(ClientDavConnection connection, java.lang.String userName, char[] password) -
getPasswd
-
saveToPasswd
public static void saveToPasswd(ConsoleInterface console, ClientCredentials loginToken, java.lang.String user, boolean alwaysSave) throws java.io.IOException- Throws:
java.io.IOException
-
getActions
public static java.util.List<? extends CommandLineAction> getActions(UserManagementFileInterface userManagementInterface) -
toString
public java.lang.String toString()Description copied from class:CommandLineActionGibt den Befehlsnamen zurück- Specified by:
toStringin classCommandLineAction- Returns:
- Name
-
getChildren
Description copied from class:CommandLineActionGibt die Kindbefehle zurück- Overrides:
getChildrenin classCommandLineAction- Returns:
- Kindbefehle
-