Class HtpasswdFileUserAuthenticator

java.lang.Object
org.apache.drill.exec.rpc.user.security.HtpasswdFileUserAuthenticator
All Implemented Interfaces:
Closeable, AutoCloseable, UserAuthenticator

public class HtpasswdFileUserAuthenticator extends Object implements UserAuthenticator
Implementation of UserAuthenticator that reads passwords from an htpasswd formatted file.

Currently supports MD5, SHA-1, and plaintext passwords.

Use the htpasswd command line tool to create and modify htpasswd files.

By default this loads the passwords from /opt/drill/conf/htpasswd. Users can change the path by putting the absolute file path as drill.exec.security.user.auth.htpasswd.path in drill-override.conf.

This is intended for situations where the list of users is relatively static, and you are running drill in a container so using pam is not convenient.

  • Field Details

  • Constructor Details

    • HtpasswdFileUserAuthenticator

      public HtpasswdFileUserAuthenticator()
  • Method Details