Only druid default passwords work

I try to setup druid authentication in common.runtime.properties

druid.auth.authenticatorChain=["MyBasicAuthenticator"]

druid.auth.authenticator.MyBasicAuthenticator.type=basic
druid.auth.authenticator.MyBasicAuthenticator.initialAdminPassword=password1
druid.auth.authenticator.MyBasicAuthenticator.initialInternalClientPassword=password2
druid.auth.authenticator.MyBasicAuthenticator.authorizerName=MyBasicAuthorizer

druid.auth.authorizers=[“MyBasicAuthorizer”]

druid.auth.authorizer.MyBasicAuthorizer.type=basic

Escalator for the internal client that is used for the internal druid communi$

druid.escalator.type=basic

druid.escalator.internalClientUsername=druid_system

druid.escalator.internalClientPassword=password2

druid.escalator.authorizerName=BasicAuthorizer


It works. Then I try to have other passwords, not the default ones (“passwrod1”,“password2”) and it doesn’t work anymore.

Why is that?

Thanks!

Hi Yehhonatan:

Can you show us the full configuration after you made the change? One thing to note is password of “druid.auth.authenticator.MyBasicAuthenticator.initialInternalClientPassword” has to be the same as “druid.escalator.internalClientPassword” , no matter how you change them. Just want to make sure.

Thanks