summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan@grnet.gr>2017-07-28 17:56:19 +0300
committerivan <ivan@grnet.gr>2017-07-28 17:56:19 +0300
commitaaa22d495d0db4f379a0173ae1b3bb7383172b5b (patch)
tree65ef877ac907f3316c2d4f1748a4a0381b041f22
parent3d01fb90c785fda4f52dd70cad83962c3733ab34 (diff)
downloadpysaml2-aaa22d495d0db4f379a0173ae1b3bb7383172b5b.tar.gz
Add documentation for preferred_binding configuration option
-rw-r--r--doc/howto/config.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/howto/config.rst b/doc/howto/config.rst
index c43d65fb..373c0ff6 100644
--- a/doc/howto/config.rst
+++ b/doc/howto/config.rst
@@ -202,6 +202,39 @@ Where you describe the organization responsible for the service.::
where the second part is the language code. If you don't specify a
language the default is "en" (English).
+preferred_binding
+^^^^^^^^^^^^^^^^^
+
+Which binding should be prefered for a service.
+Example configuration::
+
+ "preferred_binding" = {
+ "single_sign_on_service": [
+ 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
+ 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
+ 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact',
+ ],
+ "single_logout_service": [
+ 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP',
+ 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
+ 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
+ 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact',
+ ],
+ }
+
+The available services are:
+
+* manage_name_id_service
+* assertion_consumer_service
+* name_id_mapping_service
+* authn_query_service
+* attribute_service
+* authz_service
+* assertion_id_request_service
+* artifact_resolution_service
+* attribute_consuming_service
+
+
service
^^^^^^^