HomePhabricator

Add CAS authentication support

Description

Add CAS authentication support

This change patches in CAS authentication support in much the same way
that LDAP authentication is supported. It patches the login and logout
views to direct to CAS if it is enabled, and proposes an extra
configuration file along side the main configuration.py to store CAS
specific settings. Additionally, a group-aware CAS backend is
implemented which maps the memberOf attribute to django groups.

Depends-On: Ia943f1cb68fdd84bdad8106f056e1475511b06c6
Bug: T244849
Change-Id: Ie6f30f0d911bfa13c23714eb54315906a01d8309
(cherry picked from commit 3c97ebc633cbe6190b989e4a1fa165e832cc8389)

Details

Provenance
crusnovAuthored on Mar 16 2021, 10:04 PM
ayounsiCommitted on Thu, Nov 25, 11:45 AM
Parents
rOSNBd90fcff70a25: add .gitreview file
Branches
Unknown
Tags
Unknown
ChangeId
Ie6f30f0d911bfa13c23714eb54315906a01d8309