diff --git a/mdx/_rules/check_saml1.xsl b/mdx/_rules/check_saml1.xsl index 33325ed..fc2ffc2 100644 --- a/mdx/_rules/check_saml1.xsl +++ b/mdx/_rules/check_saml1.xsl @@ -33,8 +33,8 @@ An IdP with a SAML 1.1 AttributeAuthority needs an AttributeService with an appropriate Binding. --> SAML 1.1 AttributeAuthority missing appropriately bound AttributeService @@ -45,8 +45,8 @@ Use of SAML 1.0 bindings requires SAML 1.1 in protocolSupportEnumeration. --> + [not(contains(@protocolSupportEnumeration, 'urn:oasis:names:tc:SAML:1.1:protocol')) and + md:*/@Binding[starts-with(., 'urn:oasis:names:tc:SAML:1.0:')]]"> SAML 1.0 binding requires SAML 1.1 token in IDPSSODescriptor/@protocolSupportEnumeration @@ -58,8 +58,8 @@ Use of SAML 1.0 bindings requires SAML 1.1 in protocolSupportEnumeration. --> + [not(contains(@protocolSupportEnumeration, 'urn:oasis:names:tc:SAML:1.1:protocol')) and + md:*/@Binding[starts-with(., 'urn:oasis:names:tc:SAML:1.0:')]]"> SAML 1.0 binding requires SAML 1.1 token in AttributeAuthorityDescriptor/@protocolSupportEnumeration @@ -71,8 +71,8 @@ Use of SAML 1.0 bindings requires SAML 1.1 in protocolSupportEnumeration. --> + [not(contains(@protocolSupportEnumeration, 'urn:oasis:names:tc:SAML:1.1:protocol')) and + md:*/@Binding[starts-with(., 'urn:oasis:names:tc:SAML:1.0:')]]"> SAML 1.0 binding requires SAML 1.1 token in SPSSODescriptor/@protocolSupportEnumeration