diff options
| author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2012-12-15 16:05:22 +0100 |
|---|---|---|
| committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2012-12-15 16:05:22 +0100 |
| commit | be2de925a762acf10512bc88f53b6ed29887f534 (patch) | |
| tree | 2b9c0312dba62dc3d95d4ad47fe8c7f8df817ded /example | |
| parent | 8ddc30ccf4f636951a6e5fd1c42e38c094607e64 (diff) | |
| download | pysaml2-be2de925a762acf10512bc88f53b6ed29887f534.tar.gz | |
Added precompiled metadata files for the example IdP+SP.
Diffstat (limited to 'example')
| -rw-r--r-- | example/idp/idp.xml | 47 | ||||
| -rw-r--r-- | example/sp/sp.xml | 75 |
2 files changed, 122 insertions, 0 deletions
diff --git a/example/idp/idp.xml b/example/idp/idp.xml new file mode 100644 index 00000000..535af3fd --- /dev/null +++ b/example/idp/idp.xml @@ -0,0 +1,47 @@ +<?xml version='1.0' encoding='UTF-8'?> +<ns0:EntitiesDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata" + xmlns:ns1="http://www.w3.org/2000/09/xmldsig#"> + <ns0:EntityDescriptor entityID="urn:mace:umu.se:saml:roland:idp"> + <ns0:IDPSSODescriptor WantAuthnRequestsSigned="false" + protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> + <ns0:KeyDescriptor> + <ns1:KeyInfo> + <ns1:X509Data> + <ns1:X509Certificate> + MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV + BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx + EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz + MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l + YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw + DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7 + bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC + FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR + mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW + BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9 + o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW + BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE + AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF + BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO + zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN + +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI= + </ns1:X509Certificate> + </ns1:X509Data> + </ns1:KeyInfo> + </ns0:KeyDescriptor> + <ns0:SingleLogoutService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + Location="http://localhost:8088/logout"/> + <ns0:SingleSignOnService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + Location="http://localhost:8088/sso"/> + </ns0:IDPSSODescriptor> + <ns0:Organization> + <ns0:OrganizationName xml:lang="en">Rolands Identiteter + </ns0:OrganizationName> + <ns0:OrganizationDisplayName xml:lang="en">Rolands Identiteter + </ns0:OrganizationDisplayName> + <ns0:OrganizationURL xml:lang="en">http://www.example.com + </ns0:OrganizationURL> + </ns0:Organization> + </ns0:EntityDescriptor> +</ns0:EntitiesDescriptor> diff --git a/example/sp/sp.xml b/example/sp/sp.xml new file mode 100644 index 00000000..c4a0a4b8 --- /dev/null +++ b/example/sp/sp.xml @@ -0,0 +1,75 @@ +<?xml version='1.0' encoding='UTF-8'?> +<ns0:EntitiesDescriptor xmlns:ns0="urn:oasis:names:tc:SAML:2.0:metadata" + xmlns:ns1="http://www.w3.org/2000/09/xmldsig#"> + <ns0:EntityDescriptor entityID="urn:mace:umu.se:saml:roland:sp"> + <ns0:SPSSODescriptor AuthnRequestsSigned="false" + WantAssertionsSigned="true" + protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> + <ns0:KeyDescriptor> + <ns1:KeyInfo> + <ns1:X509Data> + <ns1:X509Certificate> + MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV + BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx + EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz + MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l + YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw + DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7 + bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC + FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR + mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW + BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9 + o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW + BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE + AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF + BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO + zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN + +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI= + </ns1:X509Certificate> + </ns1:X509Data> + </ns1:KeyInfo> + </ns0:KeyDescriptor> + <ns0:SingleLogoutService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + Location="http://localhost:8087/slo"/> + <ns0:AssertionConsumerService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + Location="http://localhost:8087/" index="1"/> + <ns0:AttributeConsumingService index="1"> + <ns0:ServiceName xml:lang="en">Rolands SP</ns0:ServiceName> + <ns0:ServiceDescription xml:lang="en">My SP + </ns0:ServiceDescription> + <ns0:RequestedAttribute FriendlyName="surname" + Name="urn:oid:2.5.4.4" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" + isRequired="true"/> + <ns0:RequestedAttribute FriendlyName="givenname" + Name="urn:oid:2.5.4.42" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" + isRequired="true"/> + <ns0:RequestedAttribute Name="edupersonaffiliation" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" + isRequired="true"/> + <ns0:RequestedAttribute FriendlyName="title" + Name="urn:oid:2.5.4.12" + NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" + isRequired="false"/> + </ns0:AttributeConsumingService> + </ns0:SPSSODescriptor> + <ns0:Organization> + <ns0:OrganizationName xml:lang="en">Exempel AB + </ns0:OrganizationName> + <ns0:OrganizationDisplayName xml:lang="se">Exempel AB + </ns0:OrganizationDisplayName> + <ns0:OrganizationDisplayName xml:lang="en">Example Co. + </ns0:OrganizationDisplayName> + <ns0:OrganizationURL xml:lang="en">http://www.example.com/roland + </ns0:OrganizationURL> + </ns0:Organization> + <ns0:ContactPerson contactType="technical"> + <ns0:GivenName>John</ns0:GivenName> + <ns0:SurName>Smith</ns0:SurName> + <ns0:EmailAddress>john.smith@example.com</ns0:EmailAddress> + </ns0:ContactPerson> + </ns0:EntityDescriptor> +</ns0:EntitiesDescriptor> |
