0001-misc-rename-authentication-frontend-to-authenticator.patch
src/authentic2_auth_kerberos/__init__.py | ||
---|---|---|
13 | 13 |
return ['authentic2_auth_kerberos.backends.A2LdapKerberosBackend', |
14 | 14 |
'authentic2_auth_kerberos.backends.A2KerberosBackend'] |
15 | 15 | |
16 |
def get_auth_frontends(self): |
|
17 |
return ['authentic2_auth_kerberos.auth_frontends.KerberosFrontend'] |
|
16 |
def get_authenticators(self): |
|
17 |
return ['authentic2_auth_fedict.authenticators.KerberosAuthenticator'] |
src/authentic2_auth_kerberos/auth_frontends.py → src/authentic2_auth_kerberos/authenticators.py | ||
---|---|---|
3 | 3 | |
4 | 4 |
from . import app_settings, utils |
5 | 5 | |
6 |
class KerberosFrontend(object):
|
|
6 |
class KerberosAuthenticator(object):
|
|
7 | 7 |
def enabled(self): |
8 | 8 |
return app_settings.ENABLE |
9 | 9 | |
10 |
- |