Java Swing Application with password hardcoded in it
Posted on 2010-11-10
I have developed a Java Swing Application that has a database connection credential hard coded in it. I will be using Web Start to deploy the application.
What is the best practice to handle passwords in a swing application.
One of the ideas is to create a file that will hold the encrypted login and password information and place this file in a folder in the webserver and have a authentication setup for that folder.
I am not sure if that is the best option or what are all the options available for this situation.