Page 1 of 1

server password

PostPosted: Fri Jan 06, 2012 6:06 am
by rogel
I am writing a our database configuration tool wherein the user will type in their database server username and password(where the database and repository server tables will be created) and it will be written in servoy.properties.

How would I be able to write a correct "encrypted" password?

example:
Code: Select all
server.0.URL=jdbc\:postgresql\://localhost\:5432/bug_db
...
server.0.userName=DBA
server.0.password=encrypted\:XAFg2JKIdj0\=
...


Thanks!

Re: server password

PostPosted: Fri Jan 06, 2012 9:13 am
by ROCLASI
Hi Rogel,

You can't.
You can however type in the plain text password. Launch Server and stop it again, your passwords should be enrypted then in the servoy.properties because Server writes the properties file when you quit it.

Hope this helps.