File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 54
54
"session_storage" ,
55
55
"assurance_certification" ,
56
56
"entity_category" ,
57
+ "entity_category_support" ,
57
58
"xmlsec_path" ,
58
59
"extension_schemas" ,
59
60
"cert_handler_extra_class" ,
@@ -224,6 +225,7 @@ def __init__(self, homedir="."):
224
225
self .name_qualifier = ""
225
226
self .assurance_certification = []
226
227
self .entity_category = []
228
+ self .entity_category_support = []
227
229
self .crypto_backend = 'xmlsec1'
228
230
self .id_attr_name = None
229
231
self .scope = ""
Original file line number Diff line number Diff line change @@ -724,6 +724,15 @@ def entity_descriptor(confd):
724
724
)
725
725
_add_attr_to_entity_attributes (entd .extensions , attr )
726
726
727
+ if confd .entity_category_support :
728
+ if not entd .extensions :
729
+ entd .extensions = md .Extensions ()
730
+ ava = [AttributeValue (text = c ) for c in confd .entity_category_support ]
731
+ attr = Attribute (
732
+ attribute_value = ava , name = "http://macedir.org/entity-category-support"
733
+ )
734
+ _add_attr_to_entity_attributes (entd .extensions , attr )
735
+
727
736
for item in algorithm_support_in_metadata (confd .xmlsec_binary ):
728
737
if not entd .extensions :
729
738
entd .extensions = md .Extensions ()
You can’t perform that action at this time.
0 commit comments