You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/25 07:48:05 UTC
[GitHub] [pulsar] leizhiyuan edited a comment on issue #11757: Failed to load an authentication provider java.lang.NullPointerException
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org