From 9cedebd7b82a035405c5eaa1b806ffd08ea80601 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Wed, 6 Mar 2019 14:48:50 +0100 Subject: [PATCH] misc: rename authentication "frontend" to "authenticator" (#14475) --- src/authentic2_auth_kerberos/__init__.py | 4 ++-- .../{auth_frontends.py => authenticators.py} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/authentic2_auth_kerberos/{auth_frontends.py => authenticators.py} (94%) diff --git a/src/authentic2_auth_kerberos/__init__.py b/src/authentic2_auth_kerberos/__init__.py index 02e90ab..ec6d154 100644 --- a/src/authentic2_auth_kerberos/__init__.py +++ b/src/authentic2_auth_kerberos/__init__.py @@ -13,5 +13,5 @@ class Plugin(object): return ['authentic2_auth_kerberos.backends.A2LdapKerberosBackend', 'authentic2_auth_kerberos.backends.A2KerberosBackend'] - def get_auth_frontends(self): - return ['authentic2_auth_kerberos.auth_frontends.KerberosFrontend'] + def get_authenticators(self): + return ['authentic2_auth_fedict.authenticators.KerberosAuthenticator'] diff --git a/src/authentic2_auth_kerberos/auth_frontends.py b/src/authentic2_auth_kerberos/authenticators.py similarity index 94% rename from src/authentic2_auth_kerberos/auth_frontends.py rename to src/authentic2_auth_kerberos/authenticators.py index c2a470c..83938ed 100644 --- a/src/authentic2_auth_kerberos/auth_frontends.py +++ b/src/authentic2_auth_kerberos/authenticators.py @@ -3,7 +3,7 @@ from django import forms from . import app_settings, utils -class KerberosFrontend(object): +class KerberosAuthenticator(object): def enabled(self): return app_settings.ENABLE