This commit is contained in:
Clebert Suconic 2018-09-26 09:20:25 -04:00
commit 9d6f13138b
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ public final class PasswordMaskingUtil {
} }
public static boolean isEncMasked(String password) { public static boolean isEncMasked(String password) {
return (password.startsWith(BEGIN_ENC) && password.endsWith(END_ENC)); return password == null ? false : (password.startsWith(BEGIN_ENC) && password.endsWith(END_ENC));
} }
//remove ENC() from the password body //remove ENC() from the password body

View File

@ -21,9 +21,9 @@
connector-host="localhost" connector-host="localhost"
secured="true" secured="true"
key-store-path="${data.dir}/../etc/server-side-keystore.jks" key-store-path="${data.dir}/../etc/server-side-keystore.jks"
key-store-password="secureexample" key-store-password="ENC(2a7c211d21c295cdbcde3589c205decb)"
trust-store-path="${data.dir}/../etc/server-side-truststore.jks" trust-store-path="${data.dir}/../etc/server-side-truststore.jks"
trust-store-password="secureexample"/> trust-store-password="ENC(2a7c211d21c295cdbcde3589c205decb)"/>
<authorisation> <authorisation>
<whitelist> <whitelist>
<entry domain="hawtio"/> <entry domain="hawtio"/>