leizhiyuan edited a comment on issue #11757:
URL: https://github.com/apache/pulsar/issues/11757#issuecomment-905265025


   it use openssl   apr1 and crypt algorithm
   set  
   
   ```
   superUser2:$apr1$foobarmq$kuSZlLgOITksCkRgl57ie/
   ```
   
   and set 
   
   ```
   authenticationEnabled=true
   
authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderBasic
   # which is for client to broker
   
brokerClientAuthenticationPlugin=org.apache.pulsar.client.impl.auth.AuthenticationBasic
   
brokerClientAuthenticationParameters={"userId":"superUser2","password":"superpassword"}
   ```
   
   in standalone.conf
   
   
   you can debug 
   ```
   org.apache.pulsar.broker.authentication.AuthenticationProviderBasic 
authenticate
   ```


-- 
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