Reputation: 87
We have setup SymmetricDS on Windows for SQL server databases and it's working fine. But we have hard-coded the passwords in property files. My question here is, is there any way to avoid hard-coding?
Upvotes: 1
Views: 218
Reputation: 926
If you set SQL-Server to use Windows authentication for the SymmetricDS user, then you can leave the db.user and db.password properties empty.
Sql Server - connect with windows authentication
Upvotes: 0
Reputation: 1108
You can encrypt your passwords.
https://www.symmetricds.org/doc/3.12/html/user-guide.html#_encrypted_passwords
Upvotes: 1