diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-09-08 07:34:45 +0200 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-09-08 07:34:45 +0200 |
commit | 3ddbb1a128373aa83283506c691f7d1929b6f0ac (patch) | |
tree | a808134d126d6adc5298e02a9bf6561321590491 /src/saml2/config.py | |
parent | 2be0571a5f9ee13f5c8eaa92c789e9e4764caf7a (diff) | |
download | pysaml2-3ddbb1a128373aa83283506c691f7d1929b6f0ac.tar.gz |
Allow name_format for requested attributes to be set in the configuration.
Diffstat (limited to 'src/saml2/config.py')
-rw-r--r-- | src/saml2/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/saml2/config.py b/src/saml2/config.py index 479c1adb..f0baa1ff 100644 --- a/src/saml2/config.py +++ b/src/saml2/config.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +from saml2.saml import NAME_FORMAT_URI __author__ = 'rolandh' @@ -93,6 +94,7 @@ SP_ARGS = [ "ecp", "name_id_format", "logout_requests_signed", + "requested_attribute_name_format" ] AA_IDP_ARGS = [ @@ -236,6 +238,7 @@ class Config(object): self.extensions = {} self.attribute = [] self.attribute_profile = [] + self.requested_attribute_name_format = NAME_FORMAT_URI def setattr(self, context, attr, val): if context == "": |