From 1ba0171444afc52ae2c62032951737b7bda73fcf Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Apr 2012 18:49:02 +0200 Subject: debug --- coip/apps/saml2/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coip/apps/saml2/views.py') diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index 06272c1..84e55eb 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -90,6 +90,7 @@ def parse_attribute_query(aa, xml_string, decode=True): attribute_query = AttributeQuery( aa.sec, receiver_addresses) logging.debug(xml_string) attribute_query = attribute_query.loads(xml_string, decode=decode) + logging.info(repr(attribute_query)) attribute_query = attribute_query.verify() logging.info(repr(attribute_query)) #logging.info("KEYS: %s" % attribute_query.message.keys()) @@ -107,7 +108,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,True) + (subject, attribute, aq) = parse_attribute_query(aa,request_xml,False) sp_entityid = aq.issuer.text claims = {} -- cgit v1.1