Skip to content

Commit 1ab51b3

Browse files
committed
Remove problematic assertion; this should be handled by the idp/sp and not by the XML-library
1 parent bbb893b commit 1ab51b3

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/XML/md/AbstractRoleDescriptorType.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,6 @@ public function __construct(
6565
protected array $contact = [],
6666
array $namespacedAttributes = [],
6767
) {
68-
/**
69-
* A whitespace-delimited set of URIs that identify the set of protocol specifications supported by the
70-
* role element. For SAML V2.0 entities, this set MUST include the SAML protocol namespace URI,
71-
* urn:oasis:names:tc:SAML:2.0:protocol.
72-
*/
73-
Assert::contains(
74-
strval($protocolSupportEnumeration),
75-
C::NS_SAMLP,
76-
'SAML v2.0 entities MUST include the SAML protocol namespace URI in their'
77-
. ' protocolSupportEnumeration attribute',
78-
ProtocolViolationException::class,
79-
);
8068
Assert::maxCount($contact, C::UNBOUNDED_LIMIT);
8169
Assert::allIsInstanceOf(
8270
$contact,

0 commit comments

Comments
 (0)