Passing user login information to the .exe file.
Hello Java Gurus,
I have the following problem in hand and I was wondering if anyone could give a suggestion or advise on this:-
1) I have an .exe file in a windows server which when executed ask user for the login information. Once the user is authenticated it takes the user to a Java swing based client.
I need to write a program (in Unix or windows environment) which can execute this .exe file( I can use Runtime.getRuntime ().exec function for this) and supply it with the user login information and invoke the swing application as if the users has already logged in.
I hope I am clear but please ask me if you need any clarifications.