Projects tigase _server server-core Issues #737
DBSchemaLoader should prompt for password if parameter is missing (#737)
Closed
wojciech.kapcia@tigase.net opened 8 years ago
Due Date
2017-03-19

Currently DBSchemaLoader assumes default passwords if the parameters are missing - it would be better if it would prompt for a password to avoid entering it in plain text in commandline.

wojciech.kapcia@tigase.net commented 7 years ago

Current parameter parser was… lacking and quite rough. So in the end I've created rather generic one: tigase.util.ui.console.ParameterParser (which we can use in different projects) and then integrated it into DBSchemaLoader. For the sake of simplicity I've also left only two scripts/db-create.* scripts (@sh@ for *nix and cmd for Windows) and redirected all parameter handling to DBSchemaLoader (so instead of maintaining it up-to-date in couple of places we have only single one.

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
RedmineID
4776
Version
tigase-server-8.0.0
Spent time
183h 45m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#737
Please wait...
Page is in error, reload to recover