I am currently working on enabling kerberos authentication for the single node Druid(0.16.0 version)
Is my understanding correct that kerberos does only authentication, and not authorization?
If I need to use an authorizer to help with role based access, I should be using an authorizer with type basic? Are there any other options?
To use authorizer of type basic, should I implement basic authentication too? Or can i create authorization user same as kerberos principal?
I’m also interested in the answers for these questions.
Thanks for your reply
What do you mean with
“The user name in the authorizer has to match the full principal string in your basic authorizer setup.”
Is there a configuration to define the username. I didn’t find anything related to that
My definition are like this
Is there any extra confing that I should be considering?
You are using default authorizer “allowall” and it should work.
I was talking about the “basic” authorizer provided by “druid-basic-security” extension.
Please refer below for more information:
Thanks and Regards,
Once I enable the kerberos authenticator with the default authorizer, the Druid Console is showing a lot of 403 Unauthorized errors in the panels.
I tried to look into the logs and couldn’t find anything that would give me a hint of what was happening.
When opening the browser console I see the following error (which is also logged in the router logs)
Failed to load resource: the server responded with a status of 403 (org.apache.hadoop.security.authentication.util.SignerException: Invalid signed text:)
Do you have any idea what might be missing in the config,
The authentication with the principal works fine, the authorisation part is the one that is failing.
It seems that your browser is not configured to perform Kerberos authentication. You can check below link to verify and configure the browser:
Thanks and Regards,
I’m using safari. The documentation mentions that Safari doesn’t need to update any settings to work wit a secured environment.
Accessing Coordinator or Overlord console from web browser
To access Coordinator/Overlord console from browser you will need to configure your browser for SPNego authentication as follows -
- Safari - No configurations required.
I will test in chrome with the security settings and see how it goes