diff options
author | Rebecka Gulliksson <rebecka.gulliksson@umu.se> | 2015-12-10 05:44:58 +0100 |
---|---|---|
committer | Rebecka Gulliksson <rebecka.gulliksson@umu.se> | 2015-12-10 05:44:58 +0100 |
commit | fdb37b09e9b411b46ae14e93316c599def1196b5 (patch) | |
tree | e469e6b3fe39f3c0fe9ff75459c208ef91651e5c /doc | |
parent | 0b1da5ad7e0ac5fe72d04f986361200b81762cdc (diff) | |
download | pysaml2-fdb37b09e9b411b46ae14e93316c599def1196b5.tar.gz |
Added documentation of indexed endpoints in pysaml config.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/howto/config.rst | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/howto/config.rst b/doc/howto/config.rst index 2d08979d..4412b57c 100644 --- a/doc/howto/config.rst +++ b/doc/howto/config.rst @@ -452,8 +452,23 @@ This directive has as value a dictionary with one or more of the following keys: * single_logout_service (aa, idp, sp) * single_sign_on_service (idp) -The values per service is a list of tuples containing endpoint and binding -type. +The values per service is a list of endpoint specifications. +An endpoint specification can either be just the URL:: + + ”http://localhost:8088/A" + +or it can be a 2-tuple (URL+binding):: + + from saml2 import BINDING_HTTP_POST + (”http://localhost:8087/A”, BINDING_HTTP_POST) + +or a 3-tuple (URL+binding+index):: + + from saml2 import BINDING_HTTP_POST + (”http://lingon.catalogix.se:8087/A”, BINDING_HTTP_POST, 1) + +If no binding is specified, no index can be set. +If no index is specified, the index is set based on the position in the list. Example:: |