From 4c9cf2cde842e401dba214e50f247552f51348ae Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Apr 2012 15:26:40 +0200 Subject: config --- coip/apps/saml2/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index ee62061..919a20c 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -78,7 +78,8 @@ def metadata(request): @csrf_exempt def aq(request): if request.method == 'POST': - aa = server.Server(config=_config(request), log=logging, debug=1, stype="aa") + cnf = config.Config().load(_config(request)) + aa = server.Server(config=cnf, log=logging, debug=1, stype="aa") request_xml = soap.parse_soap_enveloped_saml_attribute_query(request.raw_post_data) logging.debug(request_xml) (subject, attribute, aq) = aa.parse_attribute_query(request_xml,False) -- cgit v1.1