XD-DENG commented on a change in pull request #4612: [AIRFLOW-3785]
Decommission airflow/contrib/auth/backends
URL: https://github.com/apache/airflow/pull/4612#discussion_r251904932
##########
File path: docs/api.rst
##########
@@ -118,17 +118,7 @@ Airflow webserver is publicly accessible, and you should
probably use the deny a
[api]
auth_backend = airflow.api.auth.backend.deny_all
-Two "real" methods for authentication are currently supported for the API.
-
-To enabled Password authentication, set the following in the configuration:
-
-.. code-block:: bash
-
- [api]
- auth_backend = airflow.contrib.auth.backends.password_auth
-
-It's usage is similar to the Password Authentication used for the Web
interface.
-
+Kerberos authentication is supported for the API as well.
To enable Kerberos authentication, set the following in the configuration:
Review comment:
Or, instead of removing contrib.auth.backends.password_auth, we can refactor
it to make it work with the “ab_user” table (instead of “users” table from
models.User) which is by FAB.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services