Skip to content

Commit 408e2e7

Browse files
committed
sed -i 's/ns2/saml/g' $(git grep -l 'xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion"')
1 parent f7a4636 commit 408e2e7

File tree

6 files changed

+73
-73
lines changed

6 files changed

+73
-73
lines changed

tests/entity_cat_re.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata"
33
xmlns:xs="http://www.w3.org/2001/XMLSchema"
44
xmlns:ns1="urn:oasis:names:tc:SAML:metadata:attribute"
5-
xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion"
5+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
66
xmlns:ns5="http://www.w3.org/2000/09/xmldsig#"
77
xmlns:ns4="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
88
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
entityID="urn:mace:example.com:saml:roland:sp">
1010
<ns0:Extensions>
1111
<ns1:EntityAttributes>
12-
<ns2:Attribute Name="http://macedir.org/entity-category">
13-
<ns2:AttributeValue xsi:type="xs:string">
12+
<saml:Attribute Name="http://macedir.org/entity-category">
13+
<saml:AttributeValue xsi:type="xs:string">
1414
http://www.swamid.se/category/research-and-education
15-
</ns2:AttributeValue>
16-
</ns2:Attribute>
15+
</saml:AttributeValue>
16+
</saml:Attribute>
1717
</ns1:EntityAttributes>
1818
</ns0:Extensions>
1919
<ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true"

tests/entity_cat_re_nren.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata"
33
xmlns:xs="http://www.w3.org/2001/XMLSchema"
44
xmlns:ns1="urn:oasis:names:tc:SAML:metadata:attribute"
5-
xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion"
5+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
66
xmlns:ns5="http://www.w3.org/2000/09/xmldsig#"
77
xmlns:ns4="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
88
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
entityID="urn:mace:example.com:saml:roland:sp">
1010
<ns0:Extensions>
1111
<ns1:EntityAttributes>
12-
<ns2:Attribute Name="http://macedir.org/entity-category">
13-
<ns2:AttributeValue xsi:type="xs:string">
12+
<saml:Attribute Name="http://macedir.org/entity-category">
13+
<saml:AttributeValue xsi:type="xs:string">
1414
http://www.swamid.se/category/research-and-education
15-
</ns2:AttributeValue>
16-
<ns2:AttributeValue xsi:type="xs:string">
15+
</saml:AttributeValue>
16+
<saml:AttributeValue xsi:type="xs:string">
1717
http://www.swamid.se/category/nren-service
18-
</ns2:AttributeValue>
19-
</ns2:Attribute>
18+
</saml:AttributeValue>
19+
</saml:Attribute>
2020
</ns1:EntityAttributes>
2121
</ns0:Extensions>
2222
<ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true"

tests/entity_cat_rs.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata"
33
xmlns:xs="http://www.w3.org/2001/XMLSchema"
44
xmlns:ns1="urn:oasis:names:tc:SAML:metadata:attribute"
5-
xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion"
5+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
66
xmlns:ns5="http://www.w3.org/2000/09/xmldsig#"
77
xmlns:ns4="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
88
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
entityID="urn:mace:example.com:saml:roland:sp">
1010
<ns0:Extensions>
1111
<ns1:EntityAttributes>
12-
<ns2:Attribute Name="http://macedir.org/entity-category">
13-
<ns2:AttributeValue xsi:type="xs:string">
12+
<saml:Attribute Name="http://macedir.org/entity-category">
13+
<saml:AttributeValue xsi:type="xs:string">
1414
http://refeds.org/category/research-and-scholarship
15-
</ns2:AttributeValue>
16-
</ns2:Attribute>
15+
</saml:AttributeValue>
16+
</saml:Attribute>
1717
</ns1:EntityAttributes>
1818
</ns0:Extensions>
1919
<ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true"

tests/entity_cat_sfs_hei.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata"
33
xmlns:ns1="urn:oasis:names:tc:SAML:metadata:attribute"
4-
xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion"
4+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
55
xmlns:ns4="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
66
xmlns:ns5="http://www.w3.org/2000/09/xmldsig#"
77
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
88
entityID="urn:mace:example.com:saml:roland:sp">
99
<ns0:Extensions>
1010
<ns1:EntityAttributes>
11-
<ns2:Attribute Name="http://macedir.org/entity-category">
12-
<ns2:AttributeValue xsi:type="xs:string">
11+
<saml:Attribute Name="http://macedir.org/entity-category">
12+
<saml:AttributeValue xsi:type="xs:string">
1313
http://www.swamid.se/category/sfs-1993-1153
14-
</ns2:AttributeValue>
15-
<ns2:AttributeValue xsi:type="xs:string">
14+
</saml:AttributeValue>
15+
<saml:AttributeValue xsi:type="xs:string">
1616
http://www.swamid.se/category/hei-service
17-
</ns2:AttributeValue>
18-
</ns2:Attribute>
17+
</saml:AttributeValue>
18+
</saml:Attribute>
1919
</ns1:EntityAttributes>
2020
</ns0:Extensions>
2121
<ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true"

tests/servera.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='UTF-8'?>
2-
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ns1="urn:oasis:names:tc:SAML:metadata:attribute" xmlns:ns2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns4="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" xmlns:ns5="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" entityID="urn:mace:example.com:saml:roland:sp"><ns0:Extensions><ns1:EntityAttributes><ns2:Attribute Name="http://macedir.org/entity-category"><ns2:AttributeValue xsi:type="xs:string">http://www.swamid.se/category/sfs-1993-1153</ns2:AttributeValue><ns2:AttributeValue xsi:type="xs:string">http://www.swamid.se/category/hei-service</ns2:AttributeValue></ns2:Attribute></ns1:EntityAttributes></ns0:Extensions><ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><ns0:Extensions><ns4:DiscoveryResponse Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" Location="http://lingon.catalogix.se:8087/disco" index="1" /></ns0:Extensions><ns0:KeyDescriptor use="encryption"><ns5:KeyInfo><ns5:X509Data><ns5:X509Certificate>MIICsDCCAhmgAwIBAgIJAJrzqSSwmDY9MA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
2+
<ns0:EntityDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ns1="urn:oasis:names:tc:SAML:metadata:attribute" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns4="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" xmlns:ns5="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" entityID="urn:mace:example.com:saml:roland:sp"><ns0:Extensions><ns1:EntityAttributes><saml:Attribute Name="http://macedir.org/entity-category"><saml:AttributeValue xsi:type="xs:string">http://www.swamid.se/category/sfs-1993-1153</saml:AttributeValue><saml:AttributeValue xsi:type="xs:string">http://www.swamid.se/category/hei-service</saml:AttributeValue></saml:Attribute></ns1:EntityAttributes></ns0:Extensions><ns0:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><ns0:Extensions><ns4:DiscoveryResponse Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" Location="http://lingon.catalogix.se:8087/disco" index="1" /></ns0:Extensions><ns0:KeyDescriptor use="encryption"><ns5:KeyInfo><ns5:X509Data><ns5:X509Certificate>MIICsDCCAhmgAwIBAgIJAJrzqSSwmDY9MA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
33
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
44
aWRnaXRzIFB0eSBMdGQwHhcNMDkxMDA2MTk0OTQxWhcNMDkxMTA1MTk0OTQxWjBF
55
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50

0 commit comments

Comments
 (0)