pgAdmin 4 commit: Added LDAP authentication support. Fixes #2186

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Added LDAP authentication support. Fixes #2186
Date: 2020-04-06 10:27:21
Message-ID: E1jLOyP-0006p5-A5@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Added LDAP authentication support. Fixes #2186

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f77aa3284f93a4ea07ea5df8e12fcb60a7248142
Author: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>

Modified Files
--------------
docs/en_US/release_notes_4_21.rst | 1 +
requirements.txt | 1 +
web/config.py | 59 ++++
web/migrations/versions/7fedf8531802_.py | 51 ++++
web/pgAdmin4.py | 12 +
web/pgadmin/__init__.py | 3 +-
web/pgadmin/authenticate/__init__.py | 156 ++++++++++
web/pgadmin/authenticate/internal.py | 98 +++++++
web/pgadmin/authenticate/ldap.py | 186 ++++++++++++
web/pgadmin/authenticate/registry.py | 65 +++++
web/pgadmin/browser/__init__.py | 92 ++++--
web/pgadmin/browser/templates/browser/index.html | 2 +
.../templates/browser/macros/gravatar_icon.macro | 2 +-
web/pgadmin/browser/tests/test_change_password.py | 1 +
web/pgadmin/browser/tests/test_ldap_login.py | 89 ++++++
.../browser/tests/test_ldap_with_mocking.py | 84 ++++++
web/pgadmin/model/__init__.py | 6 +-
web/pgadmin/templates/security/fields.html | 11 +
web/pgadmin/templates/security/login_user.html | 4 +-
web/pgadmin/templates/security/panel.html | 2 +-
web/pgadmin/tools/user_management/__init__.py | 99 +++++--
.../user_management/static/js/user_management.js | 317 ++++++++++++++-------
.../templates/user_management/js/current_user.js | 3 +-
.../python_test_utils/csrf_test_client.py | 4 +-
web/regression/runtests.py | 7 +
web/regression/test_config.json.in | 43 +++
26 files changed, 1238 insertions(+), 160 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-04-06 10:28:13 Re: [pgAdmin4][Patch] - RM 2186 - Support external authentication sources [LDAP]
Previous Message Aditya Toshniwal 2020-04-06 10:21:52 Re: [pgAdmin][RM2172] Search Objects Functionality