server password

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

server password

Postby rogel » Fri Jan 06, 2012 6:06 am

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!
rogel
 
Posts: 264
Joined: Mon Jul 04, 2011 9:09 am

Re: server password

Postby ROCLASI » Fri Jan 06, 2012 9:13 am

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.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to How To

Who is online

Users browsing this forum: No registered users and 11 guests

cron