Files
deb-python-pysaml2/doc/howto.rst
Roland Hedberg 3862845c05 updated docs
2009-10-31 13:36:50 +01:00

1.1 KiB

How to use PySAML2

Before you can use Pysaml2, you'll need to get it installed. If you have done it yet, read install

Well, now you have it installed and you want to do something.

And I'm sorry to tell you this; but there isn't really a lot you can do with this code on it's own.

Sure you can send a AuthenticationRequest to an IdentityProvider or a AttributeQuery to an AttributeAuthority but in order to get what they return you have to sit behind a Web server. Well that is not really true since the AttributeQuery would be over SOAP and you would get the result over the conenction you have to the AttributeAuthority.

But anyway, you get may get my point. This is middleware stuff here !

Supposted to be used built-in in a webapplication. To be more specific it is built to fit into a WSGI application

So to get an example of where PySAML2 could fit in, you should download my repoze.who.plugin.saml2 package which you can find here:

bzr branch lp:~roland-hedberg/repoze.who.plugins.saml2/main

and go from there.