summaryrefslogtreecommitdiffstats
path: root/python/examples/logout.py
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-07-25 13:52:22 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-07-25 13:52:22 +0000
commit110851e9d73a98cf56e6677cdc057eb0035bc6b5 (patch)
treedcbefe6ddcc4b3f9c705238648eca0a288d797b8 /python/examples/logout.py
parent58666f93a17c1d9c05c1211ee7bd5713a1b96996 (diff)
downloadlasso-110851e9d73a98cf56e6677cdc057eb0035bc6b5.tar.gz
lasso-110851e9d73a98cf56e6677cdc057eb0035bc6b5.tar.xz
lasso-110851e9d73a98cf56e6677cdc057eb0035bc6b5.zip
fixed tabulations in python files (oh the horror; they were mixed with space
indendations). Also installed a test on commits to catch this (and check xml files)
Diffstat (limited to 'python/examples/logout.py')
-rw-r--r--python/examples/logout.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/examples/logout.py b/python/examples/logout.py
index 60cafe4c..35945e88 100644
--- a/python/examples/logout.py
+++ b/python/examples/logout.py
@@ -8,24 +8,24 @@ lasso.init()
# SP1 server and user :
sp1server = lasso.Server.new("../../examples/sp1.xml",
- "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
- lasso.signatureMethodRsaSha1)
+ "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
+ lasso.signatureMethodRsaSha1)
sp1server.add_provider("../../examples/idp.xml", None, None)
sp1user_dump = "<LassoUser><LassoAssertions><LassoAssertion RemoteProviderID=\"https://identity-provider:2003/liberty-alliance/metadata\"><Assertion AssertionID=\"C9DS8CD7CSD6CDSCKDKCS\"></Assertion></LassoAssertion></LassoAssertions><LassoIdentities><LassoIdentity RemoteProviderID=\"https://identity-provider:2003/liberty-alliance/metadata\"><LassoRemoteNameIdentifier><NameIdentifier NameQualifier=\"qualifier.com\" Format=\"federated\">11111111111111111111111111</NameIdentifier></LassoRemoteNameIdentifier></LassoIdentity></LassoIdentities></LassoUser>"
# SP2 server and user :
sp2server = lasso.Server.new("../../examples/sp2.xml",
- "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
- lasso.signatureMethodRsaSha1)
+ "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
+ lasso.signatureMethodRsaSha1)
sp2server.add_provider("../../examples/idp.xml", None, None)
sp2user_dump = "<LassoUser><LassoAssertions><LassoAssertion RemoteProviderID=\"https://identity-provider:2003/liberty-alliance/metadata\"><Assertion AssertionID=\"4IK43JCJSDCSDKCSCSDL\"></Assertion></LassoAssertion></LassoAssertions><LassoIdentities><LassoIdentity RemoteProviderID=\"https://identity-provider:2003/liberty-alliance/metadata\"><LassoRemoteNameIdentifier><NameIdentifier NameQualifier=\"qualifier.com\" Format=\"federated\">222222222222222222222222</NameIdentifier></LassoRemoteNameIdentifier></LassoIdentity></LassoIdentities></LassoUser>"
# IDP server and user :
idpserver = lasso.Server.new("../../examples/idp.xml",
- "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
- lasso.signatureMethodRsaSha1)
+ "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
+ lasso.signatureMethodRsaSha1)
idpserver.add_provider("../../examples/sp1.xml", None, None)
idpserver.add_provider("../../examples/sp2.xml", None, None)
idpserver.add_provider("../../examples/sp3.xml", None, None)