SbloodyS commented on code in PR #18333:
URL:
https://github.com/apache/dolphinscheduler/pull/18333#discussion_r3386190271
##########
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/utils/PasswordUtils.java:
##########
@@ -77,7 +77,7 @@ public static String decodePassword(String password) {
String salt = PropertyUtils.getString(DATASOURCE_ENCRYPTION_SALT,
DATASOURCE_ENCRYPTION_SALT_DEFAULT);
String passwordWithSalt = new String(BASE64.decode(password),
StandardCharsets.UTF_8);
if (!passwordWithSalt.startsWith(salt)) {
- log.warn("There is a password and salt mismatch: {} ", password);
+ log.debug("There is a password and salt mismatch: {} ", password);
Review Comment:
This warning message is necessary, we just need to remove the password
display.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]