Skip to content

Commit 368d2e4

Browse files
committed
move to pulsar-broker-common and uppercase
1 parent 93fcfad commit 368d2e4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: pulsar-common/src/main/java/org/apache/pulsar/common/util/anonymizer/DefaultAuthenticationRoleLoggingAnonymizer.java renamed to pulsar-broker-common/src/main/java/org/apache/pulsar/common/configuration/anonymizer/DefaultAuthenticationRoleLoggingAnonymizer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public final class DefaultAuthenticationRoleLoggingAnonymizer {
5555
public DefaultAuthenticationRoleLoggingAnonymizer(String authenticationRoleLoggingAnonymizer) {
5656
if (authenticationRoleLoggingAnonymizer.startsWith("hash:")) {
5757
anonymizerType = DefaultRoleAnonymizerType.valueOf(authenticationRoleLoggingAnonymizer
58-
.substring("hash:".length()));
58+
.substring("hash:".length()).toUpperCase());
5959
} else {
6060
anonymizerType = DefaultRoleAnonymizerType.valueOf(authenticationRoleLoggingAnonymizer);
6161
}

0 commit comments

Comments
 (0)