diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-29 09:04:53 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-29 09:04:53 +0000 |
| commit | a418f7ee029605bf86e3b717955e04b9854b6400 (patch) | |
| tree | c81e8fb4a5ff38cfe7e2569b4ea5b54c3f37497f /python/doc/tutorial/sp-init.py | |
| parent | 51adf42fdc0cec17e5e4420aa36e1d8f75252bac (diff) | |
| download | lasso-a418f7ee029605bf86e3b717955e04b9854b6400.tar.gz lasso-a418f7ee029605bf86e3b717955e04b9854b6400.tar.xz lasso-a418f7ee029605bf86e3b717955e04b9854b6400.zip | |
Removed obsolete Python doc.
Diffstat (limited to 'python/doc/tutorial/sp-init.py')
| -rw-r--r-- | python/doc/tutorial/sp-init.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/python/doc/tutorial/sp-init.py b/python/doc/tutorial/sp-init.py deleted file mode 100644 index c13da776..00000000 --- a/python/doc/tutorial/sp-init.py +++ /dev/null @@ -1,25 +0,0 @@ -import lasso - -lasso.init() - -## Initialize service provider context. -## -## This initialization can be done at service provider configuration or launch. -## Once inited, this service provider context is never changed. - -# Initialize with service provider informations. -[...] # Get metadata_file_path, public_key_file_path, private_key_file_path & - # certificate_file_path. -# The last argument lassoSignatureMethod... must be the method used to crypt the private key. -server = lasso.Server.new(metadata_file_path, public_key_file_path, private_key_file_path, - certificate_file_path, lasso.signatureMethodRsaSha1) - -# Add identity provider informations. -[...] # Get idp_metadata_file_path, idp_public_key_file_path & idp_ca_certificate_file_path. -server.add_provider(idp_metadata_file_path, idp_public_key_file_path, idp_ca_certificate_file_path) - -# Dump server context to a string and store it in a file. -server_dump = server.dump() -[...] # Save server_dump in a file or database or... - -lasso.shutdown() |
