diff options
author | Leif Johansson <leifj@sunet.se> | 2012-04-04 18:47:26 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-04-04 18:47:26 +0200 |
commit | 91510be974318339d0cbb084acc0ca69d0489829 (patch) | |
tree | ef2650f20a01a3cba911464b011f48cbf74412d2 /coip | |
parent | 09d9ea40895bd2caa158e89723914c85517c013d (diff) |
debug
Diffstat (limited to 'coip')
-rw-r--r-- | coip/apps/saml2/views.py | 4 |
1 files 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 = {} |