providers/saml: remove processor_path field

This commit is contained in:
Jens Langhammer
2020-07-11 13:28:03 +02:00
parent 92a09be8c0
commit 1b0c013d8e
5 changed files with 3 additions and 58 deletions

View File

@ -1,26 +1,12 @@
"""passbook mod saml_idp app config"""
from importlib import import_module
"""passbook SAML IdP app config"""
from django.apps import AppConfig
from django.conf import settings
from structlog import get_logger
LOGGER = get_logger()
class PassbookProviderSAMLConfig(AppConfig):
"""passbook saml_idp app config"""
"""passbook SAML IdP app config"""
name = "passbook.providers.saml"
label = "passbook_providers_saml"
verbose_name = "passbook Providers.SAML"
mountpoint = "application/saml/"
def ready(self):
"""Load source_types from config file"""
for source_type in settings.PASSBOOK_PROVIDERS_SAML_PROCESSORS:
try:
import_module(source_type)
LOGGER.info("Loaded SAML Processor", processor_class=source_type)
except ImportError as exc:
LOGGER.debug(exc)