DBZ-702 Mask SASL configuration
This commit is contained in:
parent
3bf3e2e989
commit
de0e1ad4b5
@ -60,7 +60,7 @@
|
|||||||
@Immutable
|
@Immutable
|
||||||
public interface Configuration {
|
public interface Configuration {
|
||||||
|
|
||||||
public static final Pattern PASSWORD_PATTERN = Pattern.compile(".*password$", Pattern.CASE_INSENSITIVE);
|
public static final Pattern PASSWORD_PATTERN = Pattern.compile(".*password$|.*sasl\\.jaas\\.config$", Pattern.CASE_INSENSITIVE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The basic interface for configuration builders.
|
* The basic interface for configuration builders.
|
||||||
|
@ -38,7 +38,7 @@ public final void start(Map<String, String> props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LOGGER.info("Starting " + getClass().getSimpleName() + " with configuration:");
|
LOGGER.info("Starting " + getClass().getSimpleName() + " with configuration:");
|
||||||
config.forEach((propName, propValue) -> {
|
config.withMaskedPasswords().forEach((propName, propValue) -> {
|
||||||
LOGGER.info(" {} = {}", propName, propValue);
|
LOGGER.info(" {} = {}", propName, propValue);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user