As told in
Encryption Page , the best way to keep the credentials in the framework is, store them in a config file in encrypyed form.
Let's read config file from resources folder. To be able to find it, resource folders should be added to build path: