diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2018-08-03 23:02:42 +0300 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2018-08-04 02:09:07 +0300 |
commit | c3f6311651ea05347a0b308a023c4c3e8dd23469 (patch) | |
tree | 68654c5e6df02eee6f0bc30dc686206c18dc1713 /src/saml2/config.py | |
parent | c9f4bf209816afeb525041f636c88a1fccd1cea6 (diff) | |
download | pysaml2-c3f6311651ea05347a0b308a023c4c3e8dd23469.tar.gz |
Allow configuration and specification of id attribute name
The id attribute name is used by xmlsec1 to find the correct attribute in the
given element that contains the id of the node that will be signed.
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'src/saml2/config.py')
-rw-r--r-- | src/saml2/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saml2/config.py b/src/saml2/config.py index 2631d51d..8f90afc8 100644 --- a/src/saml2/config.py +++ b/src/saml2/config.py @@ -66,6 +66,7 @@ COMMON_ARGS = [ "extensions", "allow_unknown_attributes", "crypto_backend", + "id_attr_name", ] SP_ARGS = [ @@ -221,6 +222,7 @@ class Config(object): self.name_qualifier = "" self.entity_category = "" self.crypto_backend = 'xmlsec1' + self.id_attr_name = None self.scope = "" self.allow_unknown_attributes = False self.extension_schema = {} |