summaryrefslogtreecommitdiffstats
path: root/python/tests/libertysimulator.py
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-08-11 23:02:55 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-08-11 23:02:55 +0000
commit2c3b5a50c5c1e6d84ccc74eb55b355af13fd8aa8 (patch)
tree0ecaf6efca3920c6adde149b58ad53d64339132b /python/tests/libertysimulator.py
parent02677987a48a67d99f5aacd915119a658dacd42a (diff)
downloadlasso-2c3b5a50c5c1e6d84ccc74eb55b355af13fd8aa8.tar.gz
lasso-2c3b5a50c5c1e6d84ccc74eb55b355af13fd8aa8.tar.xz
lasso-2c3b5a50c5c1e6d84ccc74eb55b355af13fd8aa8.zip
Create a new test Proxy server (a server between a SP and an IDP, which acts
as an IDP for the SP and as a SP for the IDP): login works.
Diffstat (limited to 'python/tests/libertysimulator.py')
-rw-r--r--python/tests/libertysimulator.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/tests/libertysimulator.py b/python/tests/libertysimulator.py
index 3cc5cb7a..a7751cdf 100644
--- a/python/tests/libertysimulator.py
+++ b/python/tests/libertysimulator.py
@@ -23,6 +23,7 @@
from LibertyEnabledClientProxy import LibertyEnabledClientProxyMixin
+from LibertyEnabledProxy import LibertyEnabledProxyMixin
from IdentityProvider import IdentityProviderMixin
from ServiceProvider import ServiceProviderMixin
from Provider import ProviderMixin
@@ -35,6 +36,12 @@ class LibertyEnabledClientProxy(LibertyEnabledClientProxyMixin, websimulator.Web
LibertyEnabledClientProxyMixin.__init__(self)
+class LibertyEnabledProxy(LibertyEnabledProxyMixin, websimulator.WebSite):
+ def __init__(self, internet, url):
+ websimulator.WebSite.__init__(self, internet, url)
+ LibertyEnabledProxyMixin.__init__(self)
+
+
class Provider(ProviderMixin, websimulator.WebSite):
def __init__(self, internet, url):
websimulator.WebSite.__init__(self, internet, url)