This implementation of LoginDialog, first looks at the environment variables "login.username" and "login.password". If these are set it uses these for username & password respectively. If these are not set, then it queries the user in the command window.
@author Harish Prabandham
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.