diff --git a/src/authentic2_auth_fedict/__init__.py b/src/authentic2_auth_fedict/__init__.py index cb7ba1e..2d48290 100644 --- a/src/authentic2_auth_fedict/__init__.py +++ b/src/authentic2_auth_fedict/__init__.py @@ -42,8 +42,8 @@ class Plugin(object): def get_authentication_backends(self): return ['authentic2_auth_fedict.backends.FedictBackend'] - def get_auth_frontends(self): - return ['authentic2_auth_fedict.auth_frontends.FedictFrontend'] + def get_authenticators(self): + return ['authentic2_auth_fedict.authenticators.FedictAuthenticator'] def redirect_logout_list(self, request, next_url=None): from mellon.views import logout diff --git a/src/authentic2_auth_fedict/auth_frontends.py b/src/authentic2_auth_fedict/authenticators.py similarity index 98% rename from src/authentic2_auth_fedict/auth_frontends.py rename to src/authentic2_auth_fedict/authenticators.py index 6194a1d..a51a5be 100644 --- a/src/authentic2_auth_fedict/auth_frontends.py +++ b/src/authentic2_auth_fedict/authenticators.py @@ -25,7 +25,7 @@ from authentic2.utils import redirect_to_login from . import app_settings -class FedictFrontend(object): +class FedictAuthenticator(object): id = 'fedict' def enabled(self):