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 5454 "session_storage" ,
5555 "assurance_certification" ,
5656 "entity_category" ,
57+ "entity_category_support" ,
5758 "xmlsec_path" ,
5859 "extension_schemas" ,
5960 "cert_handler_extra_class" ,
@@ -224,6 +225,7 @@ def __init__(self, homedir="."):
224225 self .name_qualifier = ""
225226 self .assurance_certification = []
226227 self .entity_category = []
228+ self .entity_category_support = []
227229 self .crypto_backend = 'xmlsec1'
228230 self .id_attr_name = None
229231 self .scope = ""
Original file line number Diff line number Diff line change @@ -724,6 +724,15 @@ def entity_descriptor(confd):
724724 )
725725 _add_attr_to_entity_attributes (entd .extensions , attr )
726726
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+
727736 for item in algorithm_support_in_metadata (confd .xmlsec_binary ):
728737 if not entd .extensions :
729738 entd .extensions = md .Extensions ()
You can’t perform that action at this time.
0 commit comments