瀏覽代碼

HUE-8888 [core] Ini description about backends is outdated

Romain 6 年之前
父節點
當前提交
6c4ecb79fc
共有 2 個文件被更改,包括 8 次插入14 次删除
  1. 4 7
      desktop/conf.dist/hue.ini
  2. 4 7
      desktop/conf/pseudo-distributed.ini.tmpl

+ 4 - 7
desktop/conf.dist/hue.ini

@@ -335,21 +335,18 @@
   [[auth]]
 
     # Authentication backend. Common settings are:
+    # - desktop.auth.backend.AllowFirstUserDjangoBackend
+    #     (Default. Fist login becomes and admin, then relies on user accounts)
     # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
     # - desktop.auth.backend.AllowAllBackend (allows everyone)
-    # - desktop.auth.backend.AllowFirstUserDjangoBackend
-    #     (Default. Relies on Django and user manager, after the first login)
     # - desktop.auth.backend.LdapBackend
     # - desktop.auth.backend.PamBackend
     # - desktop.auth.backend.SpnegoDjangoBackend
     # - desktop.auth.backend.KnoxSpnegoDjangoBackend
     # - desktop.auth.backend.RemoteUserDjangoBackend
     # - libsaml.backend.SAML2Backend
-    # - liboauth.backend.OAuthBackend
-    # - desktop.auth.backend.OIDCBackend
-    #     (New oauth, support Twitter, Facebook, Google+ and Linkedin
-    # Multiple Authentication backends are supported by specifying a comma-separated list in order of priority.
-    # However, in order to enable OAuthBackend, it must be the ONLY backend configured.
+    # - desktop.auth.backend.OIDCBackend (New oauth, support Twitter, Facebook, Google+ and Linkedin
+    # Multiple Authentication backend combinations are supported by specifying a comma-separated list in order of priority.
     ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
 
     # Class which defines extra accessor methods for User objects.

+ 4 - 7
desktop/conf/pseudo-distributed.ini.tmpl

@@ -339,21 +339,18 @@
   [[auth]]
 
     # Authentication backend. Common settings are:
+    # - desktop.auth.backend.AllowFirstUserDjangoBackend
+    #     (Default. Fist login becomes and admin, then relies on user accounts)
     # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
     # - desktop.auth.backend.AllowAllBackend (allows everyone)
-    # - desktop.auth.backend.AllowFirstUserDjangoBackend
-    #     (Default. Relies on Django and user manager, after the first login)
     # - desktop.auth.backend.LdapBackend
     # - desktop.auth.backend.PamBackend
     # - desktop.auth.backend.SpnegoDjangoBackend
     # - desktop.auth.backend.KnoxSpnegoDjangoBackend
     # - desktop.auth.backend.RemoteUserDjangoBackend
     # - libsaml.backend.SAML2Backend
-    # - liboauth.backend.OAuthBackend
-    # - desktop.auth.backend.OIDCBackend
-    #     (New oauth, support Twitter, Facebook, Google+ and Linkedin
-    # Multiple Authentication backends are supported by specifying a comma-separated list in order of priority.
-    # However, in order to enable OAuthBackend, it must be the ONLY backend configured.
+    # - desktop.auth.backend.OIDCBackend (New oauth, support Twitter, Facebook, Google+ and Linkedin
+    # Multiple Authentication backend combinations are supported by specifying a comma-separated list in order of priority.
     ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
 
     # Class which defines extra accessor methods for User objects.