summaryrefslogtreecommitdiff
path: root/coip/apps/saml2/views.py
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-04-04 18:49:02 +0200
committerLeif Johansson <leifj@sunet.se>2012-04-04 18:49:02 +0200
commit1ba0171444afc52ae2c62032951737b7bda73fcf (patch)
tree52857bba5f1b9dbc675700e52a51539941f9dafe /coip/apps/saml2/views.py
parent91510be974318339d0cbb084acc0ca69d0489829 (diff)
debug
Diffstat (limited to 'coip/apps/saml2/views.py')
-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 = {}