fixed error in child_order definition
This commit is contained in:
@@ -688,10 +688,9 @@ class SSODescriptor(RoleDescriptor):
|
|||||||
c_children['{%s}NameIDFormat' % NAMESPACE] = (
|
c_children['{%s}NameIDFormat' % NAMESPACE] = (
|
||||||
'name_id_format', [NameIDFormat])
|
'name_id_format', [NameIDFormat])
|
||||||
c_child_order = RoleDescriptor.c_child_order[:]
|
c_child_order = RoleDescriptor.c_child_order[:]
|
||||||
c_child_order.extend(['signature', 'extensions', 'key_descriptor',
|
c_child_order.extend(['artifact_resolution_service',
|
||||||
'organization', 'contact_person',
|
'single_logout_service', 'manage_name_id_service',
|
||||||
'artifact_resolution_service', 'single_logout_service',
|
'name_id_format'])
|
||||||
'manage_name_id_service', 'name_id_format'])
|
|
||||||
|
|
||||||
def __init__(self, artifact_resolution_service=None,
|
def __init__(self, artifact_resolution_service=None,
|
||||||
single_logout_service=None, manage_name_id_service=None,
|
single_logout_service=None, manage_name_id_service=None,
|
||||||
@@ -1013,8 +1012,8 @@ class SPSSODescriptor(SSODescriptor):
|
|||||||
'attribute_consuming_service', [AttributeConsumingService])
|
'attribute_consuming_service', [AttributeConsumingService])
|
||||||
|
|
||||||
c_child_order = SSODescriptor.c_child_order[:]
|
c_child_order = SSODescriptor.c_child_order[:]
|
||||||
c_child_order = ['assertion_consumer_service',
|
c_child_order.extend(['assertion_consumer_service',
|
||||||
'attribute_consuming_service']
|
'attribute_consuming_service'])
|
||||||
|
|
||||||
def __init__(self, identifier=None, valid_until=None, cache_duration=None,
|
def __init__(self, identifier=None, valid_until=None, cache_duration=None,
|
||||||
protocol_support_enumeration=None, error_url=None,
|
protocol_support_enumeration=None, error_url=None,
|
||||||
|
|||||||
Reference in New Issue
Block a user