summaryrefslogtreecommitdiff
path: root/src/saml2/ecp_client.py
diff options
context:
space:
mode:
authorHans Hörberg <haho0032@its-admins-MacBook-Pro.local>2013-04-15 10:45:52 +0200
committerHans Hörberg <haho0032@its-admins-MacBook-Pro.local>2013-04-15 10:45:52 +0200
commit04b1d03adbe68147eb6df7927d3d2b6dbc0cc768 (patch)
tree4be26914c2383825651af77b8a07a2e71cc26b59 /src/saml2/ecp_client.py
parent67e5a044f8546bddca66ae48394a314f2c533f7f (diff)
downloadpysaml2-04b1d03adbe68147eb6df7927d3d2b6dbc0cc768.tar.gz
Small fixes for the ecp case.
These fixes orgin from making freeradius_ecp start working.
Diffstat (limited to 'src/saml2/ecp_client.py')
-rw-r--r--src/saml2/ecp_client.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/saml2/ecp_client.py b/src/saml2/ecp_client.py
index 26b186fd..821e0354 100644
--- a/src/saml2/ecp_client.py
+++ b/src/saml2/ecp_client.py
@@ -67,6 +67,7 @@ class Client(Entity):
config.key_file = key_file
config.cert_file = cert_file
config.ca_certs = ca_certs
+ config.xmlsec_binary = xmlsec_binary
Entity.__init__(self, "sp", config)
self._idp = idp
@@ -82,6 +83,8 @@ class Client(Entity):
else:
self._metadata = None
+ self.metadata = self._metadata
+
self.cookie_handler = None
self.done_ecp = False
@@ -112,9 +115,9 @@ class Client(Entity):
ht_args["headers"].extend(headers)
logger.debug("[P2] Sending request: %s" % ht_args["data"])
-
+
# POST the request to the IdP
- response = self.send(destination, **ht_args)
+ response = self.send(**ht_args)
logger.debug("[P2] Got IdP response: %s" % response)