Trace: • Der ImageViewer für die Anzeige von Bildern • Automatic List Boxes based on the DB Model • Record Translation • Passwortrichtlinien umsetzen • Wie verwendet man Client Actions • Verwenden der Bild Bibliothek • Up- und Download von Dateien • Diagramme verwenden • Erste JVx Applikation (Schritt für Schritt) • Login With Command-Line Parameters
If you start an application from another application or via command line, you could use command-line arguments to set application parameters like username/password. Of course, you shouldn't use this in production environments, but you could for test applications or unit tests.
It's really simple to set application parameters via command line (see Using Application Parameters):
To implement automatic login, simply set
Application.Login.username=username Application.Login.password=password
after the application class and config parameter:
java .-cp... com.sibvisions.apps.projx.ProjX /myapp/application.xml Application.Login.username=...
