This closes #2330
This commit is contained in:
commit
9d6f13138b
|
@ -61,7 +61,7 @@ public final class PasswordMaskingUtil {
|
|||
}
|
||||
|
||||
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
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
connector-host="localhost"
|
||||
secured="true"
|
||||
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-password="secureexample"/>
|
||||
trust-store-password="ENC(2a7c211d21c295cdbcde3589c205decb)"/>
|
||||
<authorisation>
|
||||
<whitelist>
|
||||
<entry domain="hawtio"/>
|
||||
|
|
Loading…
Reference in New Issue