java - How to mask the HSQL password -


i have created batch file connect hsql database, here when entered password connect database appears clear text

we cannot specify non-empty password argument. prompted password part of login process.but appears while password being entered, appears clear text , typed! want mask password, should appear ***.

my batch file:

java -jar sqltool.jar --inlinerc=url=jdbc:hsqldb:hsql://localhost:8888/xx,user=ddd 

java provides console class basic terminal io, including not displaying passwords user inputs via readpassword():

reads password or passphrase console echoing disabled

this not secure in way - password still entered cleartext - if intent avoid password being seen on screen it's entered, correct mechanism.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -