littlebear-xbz opened a new issue #8831: Enable basic security with error 
URL: https://github.com/apache/incubator-druid/issues/8831
 
 
   ### Affected Version
   durid version: apache-druid-0.16.0-incubating
   jdk version : jdk1.8.0_172-cloudera
   ### Description
   
[broker.log](https://github.com/apache/incubator-druid/files/3813864/broker.log)
   
   I want to enable my single-server "basic security" via guide 
https://druid.apache.org/docs/latest/development/extensions-core/druid-basic-security.html
   But I got error when I run start-micro-quickstart.
   
   logs show:
   Could not resolve type id 'basic' into a subtype of [simple type, class 
org.apache.druid.server.security.Authorizer]: known type ids = [Authorizer, 
allowAll]
    at [Source: N/A; line: -1, column: -1]
   
   
   
   My common.runtime.properties is as follows:
   # Basic Security
   
   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
   
   ## Creating an Escalator
   # Escalator
   druid.escalator.type=basic
   druid.escalator.internalClientUsername=druid_system
   druid.escalator.internalClientPassword=password2
   druid.escalator.authorizerName=MyBasicAuthorizer
   
   
   druid.auth.authorizers=["MyBasicAuthorizer"]
   druid.auth.authorizer.MyBasicAuthorizer.type=basic
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to