summaryrefslogtreecommitdiffstats
path: root/python/tests/LibertyEnabledClientProxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/LibertyEnabledClientProxy.py')
-rw-r--r--python/tests/LibertyEnabledClientProxy.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/python/tests/LibertyEnabledClientProxy.py b/python/tests/LibertyEnabledClientProxy.py
index 12871ca9..46a2f9dc 100644
--- a/python/tests/LibertyEnabledClientProxy.py
+++ b/python/tests/LibertyEnabledClientProxy.py
@@ -24,10 +24,10 @@
import lasso
-from websimulator import *
+import abstractweb
-class LibertyEnabledClientProxy(WebClient):
+class LibertyEnabledClientProxyMixin(abstractweb.WebClientMixin):
# A service provider MAY provide a list of identity providers it recognizes by including the
# <lib:IDPList> element in the <lib:AuthnRequestEnvelope>. The format and processing rules for
# the identity provider list MUST be as defined in [LibertyProtSchema].
@@ -58,7 +58,7 @@ class LibertyEnabledClientProxy(WebClient):
# <lib:AuthnResponse> MUST be encoded by applying a base64 transformation (refer to
# [RFC2045]) to the <lib:AuthnResponse> and all its elements.
- httpRequestHeaders = WebClient.httpRequestHeaders.copy()
+ httpRequestHeaders = abstractweb.WebClientMixin.httpRequestHeaders.copy()
httpRequestHeaders.update({
# FIXME: Is this the correct syntax for several URLs in LIBV?
'Liberty-Enabled': 'LIBV=urn:liberty:iff:2003-08,http://projectliberty.org/specs/v1',
@@ -73,9 +73,6 @@ class LibertyEnabledClientProxy(WebClient):
lassoServerDump = None
principal = None
- def __init__(self, internet):
- WebClient.__init__(self, internet)
-
def getLassoServer(self):
return lasso.Server.new_from_dump(self.lassoServerDump)