lhotari commented on code in PR #25185:
URL: https://github.com/apache/pulsar/pull/25185#discussion_r2773708860
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -1796,6 +1796,14 @@ The max allowed delay for delayed delivery (in
milliseconds). If the broker rece
doc = "Enable authentication"
)
private boolean authenticationEnabled = false;
+
+ @FieldContext(
+ category = CATEGORY_AUTHENTICATION,
+ doc = "Strictly enforce authentication method. If specified, Pulsar
will only attempt to authenticate with "
+ + "the provided method. If no method is provided,
authentication fails."
Review Comment:
Perhaps this should be more specific about this being applied to HTTP
authentication and requiring `X-Pulsar-Auth-Method-Name` header to be set when
this setting is enabled.
--
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]