summaryrefslogtreecommitdiff
path: root/asgard
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-04 23:04:48 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-04 23:04:48 +0200
commit685b8bbaf28b0c7978d0c7e8a59db9aa905eb8c1 (patch)
treee3fb8f5a630df90527d3b753965d5e4f2d55dfdd /asgard
parentf849637d2524cfb706c014edc4d08ce2673cf579 (diff)
move pysaml config into asgard
Diffstat (limited to 'asgard')
-rw-r--r--asgard/settings.d/20-saml.conf13
1 files changed, 0 insertions, 13 deletions
diff --git a/asgard/settings.d/20-saml.conf b/asgard/settings.d/20-saml.conf
index 1565dd0..53d8cf6 100644
--- a/asgard/settings.d/20-saml.conf
+++ b/asgard/settings.d/20-saml.conf
@@ -3,21 +3,8 @@ from django.conf import settings
from saml2 import BINDING_HTTP_POST, BINDING_HTTP_REDIRECT
AUTH_PROFILE_MODULE = 'meetingtools.apps.userprofile.UserProfile'
-
-SAML_ATTRIBUTE_MAPPING = {
- 'username': ['eduPersonPrincipalName'],
- 'first_name': ['givenName'],
- 'last_name': ['sn'],
- 'display_name': ['displayName','cn']
-}
-
-#LOGIN_URL = '/accounts/login'
LOGIN_URL = '/saml2/sp/login/'
LOGIN_REDIRECT_URL = "/rooms"
-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 += ['meetingtools.saml.Saml2Backend']