java - Websphere Liberty - How to fetch the keystore password from windows registry? -


i have application running on websphere liberty , trying explore ways fetch keystore password windows registry.

for instance - adding keystore service object entry server.xml file. keystore element called defaultkeystore , contains keystore password.

<keystore id="samplepkcs12keystore" password="mypassword" location="mykeystorefile.p12" type="pkcs12"  /> 

is there way fetch password windows registry instead of having having in server.xml? can there hook established java code ( application code) server.xml ?

thanks

i not believe possible store passwords in non-filesystem storage. best option encrypt server.xml passwords , store decryption key in separate directory. note document describes, server needs access actual passwords, fundamentally, can ever obscure rather prevent unauthorized access passwords.


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -