nodece commented on code in PR #15201:
URL: https://github.com/apache/pulsar/pull/15201#discussion_r852244014


##########
site2/docs/security-oauth2.md:
##########
@@ -195,6 +195,22 @@ This example shows how to configure OAuth2 authentication 
in Node.js client.
 ```
 > Note: The support for OAuth2 authentication is only available in Node.js 
 > client 1.6.2 and later versions.
 
+## Broker configuration
+To configure brokers to authenticate clients, add the following parameters to 
broker.conf or standalone.conf:
+```properties
+# Configuration to enable authentication and authorization
+authenticationEnabled=true
+authorizationEnabled=true

Review Comment:
   You should remove any authorization config like `superUserRoles`, and update 
the description about authentication.



-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to