From 2c3b5a50c5c1e6d84ccc74eb55b355af13fd8aa8 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Wed, 11 Aug 2004 23:02:55 +0000 Subject: 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. --- python/tests/libertysimulator.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/tests/libertysimulator.py') 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) -- cgit