summaryrefslogtreecommitdiff
path: root/src/saml2/httpbase.py
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2013-03-12 09:40:12 +0100
committerFredrik Thulin <fredrik@thulin.net>2013-03-12 09:40:12 +0100
commit3e7283cc59772bb66baa59e19e1a6832ea72d16e (patch)
treeb682b5b51a94c5bab2a029ff4a0c8b7dc7fe38fd /src/saml2/httpbase.py
parent539f1fe287a126deffa764225879e35ba6105059 (diff)
downloadpysaml2-3e7283cc59772bb66baa59e19e1a6832ea72d16e.tar.gz
Use sign_statement() instead of sign_statement_using_xmlsec().
Diffstat (limited to 'src/saml2/httpbase.py')
-rw-r--r--src/saml2/httpbase.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py
index 9410bfe3..f396c298 100644
--- a/src/saml2/httpbase.py
+++ b/src/saml2/httpbase.py
@@ -303,9 +303,9 @@ class HTTPBase(object):
logger.debug("SOAP message: %s" % soap_message)
if sign and self.sec:
- _signed = self.sec.sign_statement_using_xmlsec(soap_message,
- class_name(request),
- nodeid=request.id)
+ _signed = self.sec.sign_statement(soap_message,
+ class_name(request),
+ nodeid=request.id)
soap_message = _signed
return {"url": destination, "method": "POST",