summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Anderson <chris.anderson@am.jll.com>2020-07-24 14:01:00 -0600
committerChris Anderson <chris.anderson@am.jll.com>2020-07-24 14:01:00 -0600
commit1b62d0d961e3f79dfdac706132d5cc9c81214771 (patch)
treef40462f0c309c8a3293287e4109718f1764e048e
parente5d0b4f0760144430d885165d41d777b59ef5d6a (diff)
downloadpysaml2-1b62d0d961e3f79dfdac706132d5cc9c81214771.tar.gz
Set the default attribute NameFormat to NAME_FORMAT_UNSPECIFIED as per section 2.7.3.1 of the spec
-rw-r--r--src/saml2/saml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/saml.py b/src/saml2/saml.py
index e551bcb6..933b0a08 100644
--- a/src/saml2/saml.py
+++ b/src/saml2/saml.py
@@ -1079,7 +1079,7 @@ class AttributeType_(SamlBase):
def __init__(self,
attribute_value=None,
name=None,
- name_format=NAME_FORMAT_URI,
+ name_format=NAME_FORMAT_UNSPECIFIED,
friendly_name=None,
text=None,
extension_elements=None,