--Login with command-line parameters
1 post
• Page 1 of 1
--Login with command-line parameters
This article is outdated - please use our new system at
https://doc.sibvisions.com
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
- Code: Select all
Application.Login.username=username Application.Login.password=password
after the application and config parameter:
- Code: Select all
com.sibvisions.apps.projx.ProjX /com/sibvisions/apps/myapp/application.xml
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
1 post
• Page 1 of 1