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