diff options
author | Leif Johansson <leifj@sunet.se> | 2012-04-04 15:26:40 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-04-04 15:26:40 +0200 |
commit | 4c9cf2cde842e401dba214e50f247552f51348ae (patch) | |
tree | 1596f0e107145406c9c6b40576703f3c1f26ec05 | |
parent | 23dff8b3c6295c5be5eecee2383a86ec3a0ad5c7 (diff) |
config
-rw-r--r-- | coip/apps/saml2/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |