diff options
Diffstat (limited to 'src/asgard/settings.d')
-rw-r--r-- | src/asgard/settings.d/10-apps.conf | 26 | ||||
-rw-r--r-- | src/asgard/settings.d/20-saml.conf | 22 |
2 files changed, 0 insertions, 48 deletions
diff --git a/src/asgard/settings.d/10-apps.conf b/src/asgard/settings.d/10-apps.conf deleted file mode 100644 index 4dac23c..0000000 --- a/src/asgard/settings.d/10-apps.conf +++ /dev/null @@ -1,26 +0,0 @@ - -INSTALLED_APPS += [ - 'django.contrib.auth', - 'django.contrib.contenttypes', - 'django.contrib.sessions', - 'django.contrib.sites', - 'django.contrib.admin', - 'django.contrib.humanize', - 'django_extensions', - 'south', - 'djcelery', - 'ghettoq', - 'djkombu', - 'django_co_connector', - 'django_co_acls', - 'tagging', - 'meetingtools.extensions', - 'meetingtools.apps.auth', - 'meetingtools.apps.room', - 'meetingtools.apps.cluster', - 'meetingtools.apps.userprofile', - 'meetingtools.apps.stats' -] - -DEBUG=True -MEDIA_ROOT = "%s/static" % BASE_DIR
\ No newline at end of file diff --git a/src/asgard/settings.d/20-saml.conf b/src/asgard/settings.d/20-saml.conf deleted file mode 100644 index e623bb5..0000000 --- a/src/asgard/settings.d/20-saml.conf +++ /dev/null @@ -1,22 +0,0 @@ - -from django.conf import settings -from saml2 import BINDING_HTTP_POST, BINDING_HTTP_REDIRECT - -AUTH_PROFILE_MODULE = 'profile.UserProfile' - -SAML_ATTRIBUTE_MAPPING = { - 'username': ['eduPersonPrincipalName'], - 'first_name': ['givenName'], - 'last_name': ['sn'], - 'display_name': ['displayName','cn'] -} - -LOGIN_URL = '/auth/login/' -SESSION_EXPIRE_AT_BROWSER_CLOSE = True -SAML_METADATA_FILE = "/var/run/swamid-idp-transitive.xml" -SAML_CREATE_UNKNOWN_USER = True -SAML_CONFIG_LOADER = "meetingtools.apps.auth.asgard_sp_config" - -#AUTHENTICATION_BACKENDS += ['keybucket.utils.saml.TargetedUsernameSamlBackend'] - -AUTO_REMOTE_SUPERUSERS = ['leifj@nordu.net']
\ No newline at end of file |