Development #14475
don't name authentication frontend with "Backend" in the class name
0%
Description
It's really confusing to understand the way authentication frontends/backends fit together when there is LoginPasswordBackend in src/authentic2/auth_frontends.py.
Fichiers
Révisions associées
misc: rename authentication "frontend" to "authenticator" (#14475)
misc: rename authentication "frontend" to "authenticator" (#14475)
misc: rename authentication "frontend" to "authenticator" (#14475)
Historique
Mis à jour par Frédéric Péters il y a plus de 5 ans
Illustration, dans #27447,
Donc il faudrait pouvoir filtrer en frontends d'authentification en fonction de certains critères (à définir) (authentic2/utils.py::get_backends) et les afficher sur la page de login.
À poser un regard frais sur Authentic, cette notion avec frontend backend ( méthode d'authentification), ça serait envisageable de lui faire adapter un nouveau nom, unique ?
(et cela sans approcher l'utilisation parallèle de backend pour signifier la partie stockage (backend model, backend ldap, src/authentic2/backends/))
Mis à jour par Serghei Mihai il y a plus de 5 ans
Je serais pour un nom du genre "authenticator".
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
*Auth, j'aime pas les suffixes trop longs.
Mis à jour par Serghei Mihai il y a plus de 5 ans
"authenticator" me paraît plus parlant car c'est le nom du verbe "authenticate", mais pourquoi pas "auth".
Mis à jour par Serghei Mihai il y a environ 5 ans
- Fichier 0001-misc-rename-authentication-frontend-to-authenticator.patch 0001-misc-rename-authentication-frontend-to-authenticator.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Et le patch qui était dans la branche wip/14475-rename-auth-frontends
.
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Assigné à mis à Serghei Mihai
- Priorité changé de Bas à Normal
Mis à jour par Serghei Mihai il y a environ 5 ans
- Fichier 0001-misc-rename-authentication-frontend-to-authenticator.patch 0001-misc-rename-authentication-frontend-to-authenticator.patch ajouté
- Fichier 0001-misc-rename-authentication-frontend-to-authenticator.patch 0001-misc-rename-authentication-frontend-to-authenticator.patch ajouté
- Fichier 0001-misc-rename-authentication-frontend-to-authenticator.patch 0001-misc-rename-authentication-frontend-to-authenticator.patch ajouté
- Fichier 0001-misc-rename-authentication-frontend-to-authenticator.patch 0001-misc-rename-authentication-frontend-to-authenticator.patch ajouté
Je colle le patch rebasé à jour.
En plus les patchs pour les modules externes encore actifs pour suivre le nouveau nommage: auth-fc, auth-fedict, auth-kerberos.
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Toujours ack.
Mis à jour par Serghei Mihai il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit eac4437e5cbbc4142e7b0aa477fbdff3daf766af (origin/master, origin/HEAD) Author: Serghei Mihai <smihai@entrouvert.com> Date: Wed Nov 21 15:34:51 2018 +0100 misc: rename authentication "frontend" to "authenticator" (#14475)
Mis à jour par Frédéric Péters il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: rename authentication "frontend" to "authenticator" (#14475)