Starting RCP with a cmd-line parameter? [message #447544] |
Mon, 10 April 2006 13:55 |
Eclipse User |
|
|
|
Originally posted by: nico.bruehl.siemens.com
Hi :)
I am trying to implement an auto_login function in my application and therefore I need to store the password of the user.
To leave the security issue to the user, I would like to implement something like a parameter-listener, so the user can add his/her password to the link of the application.
Something similiar to the eclipse parameters e.g.: C:\eclipse\eclipse.exe -vmargs -Xms256m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=64m
so in my case it should be something like:
C:\myRCPApp\myRCPApp.exe -userpassword
The question is now, if the programm gets started with this parameter, how can I access this parameter from my RCP by code? Is it even possible?
Thank you in advance :)
Nico
|
|
|
|
|
Re: Starting RCP with a cmd-line parameter? [message #447547 is a reply to message #447545] |
Mon, 10 April 2006 14:24 |
Eclipse User |
|
|
|
Originally posted by: nico.bruehl.siemens.com
thanks;) I will take a closer look at both, the bundle activator and the platform thingy.
I know that the command line password is unsecure :P - I wouldn't use it hehe but they asked for it so I'm trying to implement it.
In general the user shouldn't use the autologin but the normal login dialog.
anyways, I will take a closer look at the mentioned classes, thanks :)
Nico
|
|
|
|
Powered by
FUDForum. Page generated in 0.04268 seconds