From bc55b9397252c7382b6388fceef54a056d3c371e Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 5 Apr 2012 13:31:22 +0200 Subject: moved the uris around a bit --- coip/apps/saml2/urls.py | 7 +++---- coip/apps/saml2/views.py | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'coip/apps/saml2') diff --git a/coip/apps/saml2/urls.py b/coip/apps/saml2/urls.py index 3965a6d..76c419c 100644 --- a/coip/apps/saml2/urls.py +++ b/coip/apps/saml2/urls.py @@ -3,10 +3,9 @@ Created on Nov 7, 2011 @author: leifj ''' -from django.conf.urls.defaults import patterns, url, include +from django.conf.urls.defaults import patterns, url urlpatterns = patterns('coip.apps.saml2.views', - url(r'^aq$',view='aq'), - url(r'^metadata$',view='metadata'), - url(r'^.+',include('djangosaml2.urls')) + url(r'^aq/?$',view='aq'), + url(r'^metadata/?$',view='metadata') ) \ No newline at end of file diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index 1055644..60eae75 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -20,13 +20,13 @@ from coip.utils import get_full_path def _config(request): host = request.get_host().replace(":","-") c = { - "entityid" : get_full_path(request,"/saml2/entity"), + "entityid" : get_full_path(request,"/saml2/aa/metadata"), "description": "COIP", "service": { "aa": { "name" : "COIP", "endpoints" : { - "attribute_service" : [(get_full_path(request,"/saml2/aq"), BINDING_SOAP)], + "attribute_service" : [(get_full_path(request,"/saml2/aa/aq"), BINDING_SOAP)], }, "policy": { "default": { -- cgit v1.1