summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coip/apps/saml2/views.py3
1 files changed, 2 insertions, 1 deletions
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 = {}