From 91510be974318339d0cbb084acc0ca69d0489829 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Apr 2012 18:47:26 +0200 Subject: debug --- coip/apps/saml2/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index d394fd6..06272c1 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -88,7 +88,7 @@ def parse_attribute_query(aa, xml_string, decode=True): """ receiver_addresses = aa.conf.endpoint("attribute_service") attribute_query = AttributeQuery( aa.sec, receiver_addresses) - + logging.debug(xml_string) attribute_query = attribute_query.loads(xml_string, decode=decode) attribute_query = attribute_query.verify() logging.info(repr(attribute_query)) @@ -107,7 +107,7 @@ def aq(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) = parse_attribute_query(aa,request_xml,False) + (subject, attribute, aq) = parse_attribute_query(aa,request_xml,True) sp_entityid = aq.issuer.text claims = {} -- cgit v1.1