summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2021-05-18 15:38:27 +0300
committerGitHub <noreply@github.com>2021-05-18 15:38:27 +0300
commitedbb95247676a6c2b97370da27e3fabe792abe95 (patch)
treed593094477733c01a2fea7ebc00e1639b9798613
parentc356e44c471df1c46d9b7066b5409688431cf0b1 (diff)
downloadpysaml2-edbb95247676a6c2b97370da27e3fabe792abe95.tar.gz
Add links to updated spec versions with errata
-rw-r--r--src/saml2/__init__.py2
-rw-r--r--src/saml2/saml.py10
2 files changed, 9 insertions, 3 deletions
diff --git a/src/saml2/__init__.py b/src/saml2/__init__.py
index 0f53b837..6c11e200 100644
--- a/src/saml2/__init__.py
+++ b/src/saml2/__init__.py
@@ -61,6 +61,8 @@ DECISION_TYPE_INDETERMINATE = "Indeterminate"
VERSION = "2.0"
# http://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf
+# The specification was later updated with errata, and the new version is here:
+# http://www.oasis-open.org/committees/download.php/56779/sstc-saml-bindings-errata-2.0-wd-06.pdf
# parse a SOAP header, make a SOAP request, and receive a SOAP response
BINDING_SOAP = 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP'
# parse a PAOS header, make a PAOS request, and receive a PAOS response
diff --git a/src/saml2/saml.py b/src/saml2/saml.py
index 64dcd5d9..6ddd913e 100644
--- a/src/saml2/saml.py
+++ b/src/saml2/saml.py
@@ -3,9 +3,14 @@
#
# Generated Mon May 2 14:23:33 2011 by parse_xsd.py version 0.4.
#
+# A summary of available specifications can be found at:
+# https://wiki.oasis-open.org/security/FrontPage
+#
# saml core specifications to be found at:
# if any question arise please query the following pdf.
# http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
+# The specification was later updated with errata, and the new version is here:
+# https://www.oasis-open.org/committees/download.php/56776/sstc-saml-core-errata-2.0-wd-07.pdf
#
@@ -81,15 +86,14 @@ NAMEID_FORMATS_SAML2 = (
# a profile outlines a set of rules describing how to embed SAML assertions.
# https://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf
+# The specification was later updated with errata, and the new version is here:
+# https://www.oasis-open.org/committees/download.php/56782/sstc-saml-profiles-errata-2.0-wd-07.pdf
# XML based values for SAML attributes
PROFILE_ATTRIBUTE_BASIC = (
"urn:oasis:names:tc:SAML:2.0:profiles:attribute:basic")
# an AuthnRequest is made to initiate authentication
-# TODO: it is not clear that the request sets the context
-# for the AuthnRequest, maybe rename to AUTHN_CONTEXT_PASSWORD
-
# authenticate the request with login credentials
AUTHN_PASSWORD = "urn:oasis:names:tc:SAML:2.0:ac:classes:Password"
# authenticate the request with login credentials, over tls/https