ruby-saml 1.7.2 → 1.12.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ruby-saml might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.travis.yml +37 -15
- data/README.md +127 -25
- data/changelog.md +61 -0
- data/lib/onelogin/ruby-saml/attribute_service.rb +1 -1
- data/lib/onelogin/ruby-saml/attributes.rb +24 -1
- data/lib/onelogin/ruby-saml/authrequest.rb +29 -6
- data/lib/onelogin/ruby-saml/idp_metadata_parser.rb +239 -169
- data/lib/onelogin/ruby-saml/logging.rb +4 -1
- data/lib/onelogin/ruby-saml/logoutrequest.rb +27 -7
- data/lib/onelogin/ruby-saml/logoutresponse.rb +32 -16
- data/lib/onelogin/ruby-saml/metadata.rb +11 -3
- data/lib/onelogin/ruby-saml/response.rb +91 -30
- data/lib/onelogin/ruby-saml/saml_message.rb +15 -5
- data/lib/onelogin/ruby-saml/setting_error.rb +6 -0
- data/lib/onelogin/ruby-saml/settings.rb +82 -9
- data/lib/onelogin/ruby-saml/slo_logoutrequest.rb +26 -7
- data/lib/onelogin/ruby-saml/slo_logoutresponse.rb +46 -18
- data/lib/onelogin/ruby-saml/utils.rb +87 -10
- data/lib/onelogin/ruby-saml/version.rb +1 -1
- data/lib/xml_security.rb +39 -12
- data/ruby-saml.gemspec +16 -8
- metadata +40 -274
- data/test/certificates/certificate1 +0 -12
- data/test/certificates/certificate_without_head_foot +0 -1
- data/test/certificates/formatted_certificate +0 -14
- data/test/certificates/formatted_chained_certificate +0 -42
- data/test/certificates/formatted_private_key +0 -12
- data/test/certificates/formatted_rsa_private_key +0 -12
- data/test/certificates/invalid_certificate1 +0 -1
- data/test/certificates/invalid_certificate2 +0 -1
- data/test/certificates/invalid_certificate3 +0 -12
- data/test/certificates/invalid_chained_certificate1 +0 -1
- data/test/certificates/invalid_private_key1 +0 -1
- data/test/certificates/invalid_private_key2 +0 -1
- data/test/certificates/invalid_private_key3 +0 -10
- data/test/certificates/invalid_rsa_private_key1 +0 -1
- data/test/certificates/invalid_rsa_private_key2 +0 -1
- data/test/certificates/invalid_rsa_private_key3 +0 -10
- data/test/certificates/ruby-saml-2.crt +0 -15
- data/test/certificates/ruby-saml.crt +0 -14
- data/test/certificates/ruby-saml.key +0 -15
- data/test/idp_metadata_parser_test.rb +0 -568
- data/test/logging_test.rb +0 -62
- data/test/logout_requests/invalid_slo_request.xml +0 -6
- data/test/logout_requests/slo_request.xml +0 -4
- data/test/logout_requests/slo_request.xml.base64 +0 -1
- data/test/logout_requests/slo_request_deflated.xml.base64 +0 -1
- data/test/logout_requests/slo_request_with_name_id_format.xml +0 -4
- data/test/logout_requests/slo_request_with_session_index.xml +0 -5
- data/test/logout_responses/logoutresponse_fixtures.rb +0 -67
- data/test/logoutrequest_test.rb +0 -212
- data/test/logoutresponse_test.rb +0 -402
- data/test/metadata/idp_descriptor.xml +0 -26
- data/test/metadata/idp_descriptor_2.xml +0 -56
- data/test/metadata/idp_descriptor_3.xml +0 -14
- data/test/metadata/idp_metadata_different_sign_and_encrypt_cert.xml +0 -72
- data/test/metadata/idp_metadata_multi_certs.xml +0 -75
- data/test/metadata/idp_metadata_multi_signing_certs.xml +0 -52
- data/test/metadata/idp_metadata_same_sign_and_encrypt_cert.xml +0 -71
- data/test/metadata/idp_multiple_descriptors.xml +0 -53
- data/test/metadata/no_idp_descriptor.xml +0 -21
- data/test/metadata_test.rb +0 -331
- data/test/request_test.rb +0 -296
- data/test/response_test.rb +0 -1535
- data/test/responses/adfs_response_sha1.xml +0 -46
- data/test/responses/adfs_response_sha256.xml +0 -46
- data/test/responses/adfs_response_sha384.xml +0 -46
- data/test/responses/adfs_response_sha512.xml +0 -46
- data/test/responses/adfs_response_xmlns.xml +0 -45
- data/test/responses/attackxee.xml +0 -13
- data/test/responses/invalids/duplicated_attributes.xml.base64 +0 -1
- data/test/responses/invalids/empty_destination.xml.base64 +0 -1
- data/test/responses/invalids/empty_nameid.xml.base64 +0 -1
- data/test/responses/invalids/encrypted_new_attack.xml.base64 +0 -1
- data/test/responses/invalids/invalid_audience.xml.base64 +0 -1
- data/test/responses/invalids/invalid_issuer_assertion.xml.base64 +0 -1
- data/test/responses/invalids/invalid_issuer_message.xml.base64 +0 -1
- data/test/responses/invalids/invalid_signature_position.xml.base64 +0 -1
- data/test/responses/invalids/invalid_subjectconfirmation_inresponse.xml.base64 +0 -1
- data/test/responses/invalids/invalid_subjectconfirmation_nb.xml.base64 +0 -1
- data/test/responses/invalids/invalid_subjectconfirmation_noa.xml.base64 +0 -1
- data/test/responses/invalids/invalid_subjectconfirmation_recipient.xml.base64 +0 -1
- data/test/responses/invalids/multiple_assertions.xml.base64 +0 -2
- data/test/responses/invalids/multiple_signed.xml.base64 +0 -1
- data/test/responses/invalids/no_authnstatement.xml.base64 +0 -1
- data/test/responses/invalids/no_conditions.xml.base64 +0 -1
- data/test/responses/invalids/no_id.xml.base64 +0 -1
- data/test/responses/invalids/no_issuer_assertion.xml.base64 +0 -1
- data/test/responses/invalids/no_issuer_response.xml.base64 +0 -1
- data/test/responses/invalids/no_nameid.xml.base64 +0 -1
- data/test/responses/invalids/no_saml2.xml.base64 +0 -1
- data/test/responses/invalids/no_signature.xml.base64 +0 -1
- data/test/responses/invalids/no_status.xml.base64 +0 -1
- data/test/responses/invalids/no_status_code.xml.base64 +0 -1
- data/test/responses/invalids/no_subjectconfirmation_data.xml.base64 +0 -1
- data/test/responses/invalids/no_subjectconfirmation_method.xml.base64 +0 -1
- data/test/responses/invalids/response_invalid_signed_element.xml.base64 +0 -1
- data/test/responses/invalids/response_with_concealed_signed_assertion.xml +0 -51
- data/test/responses/invalids/response_with_doubled_signed_assertion.xml +0 -49
- data/test/responses/invalids/signature_wrapping_attack.xml.base64 +0 -1
- data/test/responses/invalids/status_code_responder.xml.base64 +0 -1
- data/test/responses/invalids/status_code_responer_and_msg.xml.base64 +0 -1
- data/test/responses/invalids/wrong_spnamequalifier.xml.base64 +0 -1
- data/test/responses/no_signature_ns.xml +0 -48
- data/test/responses/open_saml_response.xml +0 -56
- data/test/responses/response_assertion_wrapped.xml.base64 +0 -93
- data/test/responses/response_audience_self_closed_tag.xml.base64 +0 -1
- data/test/responses/response_double_status_code.xml.base64 +0 -1
- data/test/responses/response_encrypted_attrs.xml.base64 +0 -1
- data/test/responses/response_encrypted_nameid.xml.base64 +0 -1
- data/test/responses/response_eval.xml +0 -7
- data/test/responses/response_no_cert_and_encrypted_attrs.xml +0 -29
- data/test/responses/response_node_text_attack.xml.base64 +0 -1
- data/test/responses/response_unsigned_xml_base64 +0 -1
- data/test/responses/response_with_ampersands.xml +0 -139
- data/test/responses/response_with_ampersands.xml.base64 +0 -93
- data/test/responses/response_with_ds_namespace_at_the_root.xml.base64 +0 -1
- data/test/responses/response_with_multiple_attribute_statements.xml +0 -72
- data/test/responses/response_with_multiple_attribute_values.xml +0 -67
- data/test/responses/response_with_retrieval_method.xml +0 -26
- data/test/responses/response_with_saml2_namespace.xml.base64 +0 -102
- data/test/responses/response_with_signed_assertion.xml.base64 +0 -66
- data/test/responses/response_with_signed_assertion_2.xml.base64 +0 -1
- data/test/responses/response_with_signed_assertion_3.xml +0 -30
- data/test/responses/response_with_signed_message_and_assertion.xml +0 -34
- data/test/responses/response_with_undefined_recipient.xml.base64 +0 -1
- data/test/responses/response_without_attributes.xml.base64 +0 -79
- data/test/responses/response_without_reference_uri.xml.base64 +0 -1
- data/test/responses/response_wrapped.xml.base64 +0 -150
- data/test/responses/signed_message_encrypted_signed_assertion.xml.base64 +0 -1
- data/test/responses/signed_message_encrypted_unsigned_assertion.xml.base64 +0 -1
- data/test/responses/signed_nameid_in_atts.xml +0 -47
- data/test/responses/signed_unqual_nameid_in_atts.xml +0 -47
- data/test/responses/simple_saml_php.xml +0 -71
- data/test/responses/starfield_response.xml.base64 +0 -1
- data/test/responses/test_sign.xml +0 -43
- data/test/responses/unsigned_encrypted_adfs.xml +0 -23
- data/test/responses/unsigned_message_aes128_encrypted_signed_assertion.xml.base64 +0 -1
- data/test/responses/unsigned_message_aes192_encrypted_signed_assertion.xml.base64 +0 -1
- data/test/responses/unsigned_message_aes256_encrypted_signed_assertion.xml.base64 +0 -1
- data/test/responses/unsigned_message_des192_encrypted_signed_assertion.xml.base64 +0 -1
- data/test/responses/unsigned_message_encrypted_assertion_without_saml_namespace.xml.base64 +0 -1
- data/test/responses/unsigned_message_encrypted_signed_assertion.xml.base64 +0 -1
- data/test/responses/unsigned_message_encrypted_unsigned_assertion.xml.base64 +0 -1
- data/test/responses/valid_response.xml.base64 +0 -1
- data/test/responses/valid_response_without_x509certificate.xml.base64 +0 -1
- data/test/saml_message_test.rb +0 -56
- data/test/settings_test.rb +0 -301
- data/test/slo_logoutrequest_test.rb +0 -448
- data/test/slo_logoutresponse_test.rb +0 -185
- data/test/test_helper.rb +0 -323
- data/test/utils_test.rb +0 -254
- data/test/xml_security_test.rb +0 -421
@@ -1,75 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.examle.com/saml/metadata">
|
3
|
-
<IDPSSODescriptor xmlns:ds="http://www.w3.org/2000/09/xmldsig#" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
4
|
-
<KeyDescriptor use="signing">
|
5
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
6
|
-
<ds:X509Data>
|
7
|
-
<ds:X509Certificate>MIIEZTCCA02gAwIBAgIUPyy/A3bZAZ4m28PzEUUoT7RJhxIwDQYJKoZIhvcNAQEF
|
8
|
-
BQAwcjELMAkGA1UEBhMCVVMxKzApBgNVBAoMIk9uZUxvZ2luIFRlc3QgKHNnYXJj
|
9
|
-
aWEtdXMtcHJlcHJvZCkxFTATBgNVBAsMDE9uZUxvZ2luIElkUDEfMB0GA1UEAwwW
|
10
|
-
T25lTG9naW4gQWNjb3VudCA4OTE0NjAeFw0xNjA4MDQyMjI5MzdaFw0yMTA4MDUy
|
11
|
-
MjI5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wQquRHXpdyS9D6HUBXM
|
26
|
-
GI6ahPicXCQrfLgN8vzMIiqZqfySXXv/8/dxe/X4UsWLYKYJHDJmxXD5EmWTa65c
|
27
|
-
hjkeP1oJAc8f3CKCpcP2lOBTthbnk2fEVAeLHR4xNdQO0VvGXWO9BliYPpkYqUIB
|
28
|
-
vlm+Fg9mF7AM/Uagq2503XXIE1Lq//HON68P10vNMwLSKOtYLsoTiCnuIKGJqG37
|
29
|
-
MsZVjQ1ZPRcO+LSLkq0i91gFxrOrVCrgztX4JQi5XkvEsYZGIXXjwHqxTVyt3adZ
|
30
|
-
WQO0LPxPqRiUqUzyhDhLo/xXNrHCu4VbMw==</ds:X509Certificate>
|
31
|
-
</ds:X509Data>
|
32
|
-
</ds:KeyInfo>
|
33
|
-
</KeyDescriptor>
|
34
|
-
<KeyDescriptor use="signing">
|
35
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
36
|
-
<ds:X509Data>
|
37
|
-
<ds:X509Certificate>MIICZDCCAc2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADBPMQswCQYDVQQGEwJ1czEUMBIGA1UECAwLZXhhbXBsZS5jb20xFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYDVQQDDAtleGFtcGxlLmNvbTAeFw0xNzA0MTUxNjMzMThaFw0xODA0MTUxNjMzMThaME8xCzAJBgNVBAYTAnVzMRQwEgYDVQQIDAtleGFtcGxlLmNvbTEUMBIGA1UECgwLZXhhbXBsZS5jb20xFDASBgNVBAMMC2V4YW1wbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6GLkl5lDUZdHNDAojp5i24OoPlqrt5TGXJIPqAZYT1hQvJW5nv17MFDHrjmtEnmW4ACKEy0fAX80QWIcHunZSkbEGHb+NG/6oTi5RipXMvmHnfFnPJJ0AdtiLiPE478CV856gXekV4Xx5u3KrylcOgkpYsp0GMIQBDzleMUXlYQIDAQABo1AwTjAdBgNVHQ4EFgQUnP8vlYPGPL2n6ZzDYij2kMDC8wMwHwYDVR0jBBgwFoAUnP8vlYPGPL2n6ZzDYij2kMDC8wMwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQ0FAAOBgQAlQGAl+b8Cpot1g+65lLLjVoY7APJPWLW0klKQNlMU0s4MU+71Y3ExUEOXDAZgKcFoavb1fEOGMwEf38NaJAy1e/l6VNuixXShffq20ymqHQxOG0q8ujeNkgZF9k6XDfn/QZ3AD0o/IrCT7UMc/0QsfgIjWYxwCvp2syApc5CYfQ==</ds:X509Certificate>
|
38
|
-
</ds:X509Data>
|
39
|
-
</ds:KeyInfo>
|
40
|
-
</KeyDescriptor>
|
41
|
-
<KeyDescriptor use="encryption">
|
42
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
43
|
-
<ds:X509Data>
|
44
|
-
<ds:X509Certificate>MIIEZTCCA02gAwIBAgIUPyy/A3bZAZ4m28PzEUUoT7RJhxIwDQYJKoZIhvcNAQEF
|
45
|
-
BQAwcjELMAkGA1UEBhMCVVMxKzApBgNVBAoMIk9uZUxvZ2luIFRlc3QgKHNnYXJj
|
46
|
-
aWEtdXMtcHJlcHJvZCkxFTATBgNVBAsMDE9uZUxvZ2luIElkUDEfMB0GA1UEAwwW
|
47
|
-
T25lTG9naW4gQWNjb3VudCA4OTE0NjAeFw0xNjA4MDQyMjI5MzdaFw0yMTA4MDUy
|
48
|
-
MjI5MzdaMHIxCzAJBgNVBAYTAlVTMSswKQYDVQQKDCJPbmVMb2dpbiBUZXN0IChz
|
49
|
-
Z2FyY2lhLXVzLXByZXByb2QpMRUwEwYDVQQLDAxPbmVMb2dpbiBJZFAxHzAdBgNV
|
50
|
-
BAMMFk9uZUxvZ2luIEFjY291bnQgODkxNDYwggEiMA0GCSqGSIb3DQEBAQUAA4IB
|
51
|
-
DwAwggEKAoIBAQDN6iqQGcLOCglNO42I2rkzE05UXSiMXT6c8ALThMMiaDw6qqzo
|
52
|
-
3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kvEsYZGIXXjwHqxTVyt3adZ
|
67
|
-
WQO0LPxPqRiUqUzyhDhLo/xXNrHCu4VbMw==</ds:X509Certificate>
|
68
|
-
</ds:X509Data>
|
69
|
-
</ds:KeyInfo>
|
70
|
-
</KeyDescriptor>
|
71
|
-
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.examle.com/saml/slo"/>
|
72
|
-
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
73
|
-
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.examle.com/saml/sso"/>
|
74
|
-
</IDPSSODescriptor>
|
75
|
-
</EntityDescriptor>
|
@@ -1,52 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.examle.com/saml/metadata">
|
3
|
-
<IDPSSODescriptor xmlns:ds="http://www.w3.org/2000/09/xmldsig#" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
4
|
-
<KeyDescriptor use="signing">
|
5
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
6
|
-
<ds:X509Data>
|
7
|
-
<ds:X509Certificate>MIIEZTCCA02gAwIBAgIUPyy/A3bZAZ4m28PzEUUoT7RJhxIwDQYJKoZIhvcNAQEF
|
8
|
-
BQAwcjELMAkGA1UEBhMCVVMxKzApBgNVBAoMIk9uZUxvZ2luIFRlc3QgKHNnYXJj
|
9
|
-
aWEtdXMtcHJlcHJvZCkxFTATBgNVBAsMDE9uZUxvZ2luIElkUDEfMB0GA1UEAwwW
|
10
|
-
T25lTG9naW4gQWNjb3VudCA4OTE0NjAeFw0xNjA4MDQyMjI5MzdaFw0yMTA4MDUy
|
11
|
-
MjI5MzdaMHIxCzAJBgNVBAYTAlVTMSswKQYDVQQKDCJPbmVMb2dpbi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ZqfySXXv/8/dxe/X4UsWLYKYJHDJmxXD5EmWTa65c
|
27
|
-
hjkeP1oJAc8f3CKCpcP2lOBTthbnk2fEVAeLHR4xNdQO0VvGXWO9BliYPpkYqUIB
|
28
|
-
vlm+Fg9mF7AM/Uagq2503XXIE1Lq//HON68P10vNMwLSKOtYLsoTiCnuIKGJqG37
|
29
|
-
MsZVjQ1ZPRcO+LSLkq0i91gFxrOrVCrgztX4JQi5XkvEsYZGIXXjwHqxTVyt3adZ
|
30
|
-
WQO0LPxPqRiUqUzyhDhLo/xXNrHCu4VbMw==</ds:X509Certificate>
|
31
|
-
</ds:X509Data>
|
32
|
-
</ds:KeyInfo>
|
33
|
-
</KeyDescriptor>
|
34
|
-
<KeyDescriptor use="signing">
|
35
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
36
|
-
<ds:X509Data>
|
37
|
-
<ds:X509Certificate>MIICZDCCAc2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADBPMQswCQYDVQQGEwJ1czEUMBIGA1UECAwLZXhhbXBsZS5jb20xFDASBgNVBAoMC2V4YW1wbGUuY29tMRQwEgYDVQQDDAtleGFtcGxlLmNvbTAeFw0xNzA0MTUxNjMzMThaFw0xODA0MTUxNjMzMThaME8xCzAJBgNVBAYTAnVzMRQwEgYDVQQIDAtleGFtcGxlLmNvbTEUMBIGA1UECgwLZXhhbXBsZS5jb20xFDASBgNVBAMMC2V4YW1wbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6GLkl5lDUZdHNDAojp5i24OoPlqrt5TGXJIPqAZYT1hQvJW5nv17MFDHrjmtEnmW4ACKEy0fAX80QWIcHunZSkbEGHb+NG/6oTi5RipXMvmHnfFnPJJ0AdtiLiPE478CV856gXekV4Xx5u3KrylcOgkpYsp0GMIQBDzleMUXlYQIDAQABo1AwTjAdBgNVHQ4EFgQUnP8vlYPGPL2n6ZzDYij2kMDC8wMwHwYDVR0jBBgwFoAUnP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WZET2dpQzhic2ZmUzgKQkptb3VscnJaRE5OVmpHOG1XNmNMeHJZdlZRT3JSVmVjQ0ZJZ3NzQ2JBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=</ds:X509Certificate>
|
45
|
-
</ds:X509Data>
|
46
|
-
</ds:KeyInfo>
|
47
|
-
</KeyDescriptor>
|
48
|
-
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.examle.com/saml/slo"/>
|
49
|
-
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
50
|
-
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.examle.com/saml/sso"/>
|
51
|
-
</IDPSSODescriptor>
|
52
|
-
</EntityDescriptor>
|
@@ -1,71 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://app.onelogin.com/saml/metadata/383123">
|
3
|
-
<IDPSSODescriptor xmlns:ds="http://www.w3.org/2000/09/xmldsig#" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
4
|
-
<KeyDescriptor use="signing">
|
5
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
6
|
-
<ds:X509Data>
|
7
|
-
<ds:X509Certificate>MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJVUzET
|
8
|
-
MBEGA1UECAwKQ2FsaWZvcm5pYTEVMBMGA1UEBwwMU2FudGEgTW9uaWNhMREwDwYD
|
9
|
-
VQQKDAhPbmVMb2dpbjEZMBcGA1UEAwwQYXBwLm9uZWxvZ2luLmNvbTAeFw0xMzA2
|
10
|
-
MDUxNzE2MjBaFw0xODA2MDUxNzE2MjBaMGcxCzAJBgNVBAYTAlVTMRMwEQYDVQQI
|
11
|
-
D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u+OTIQIaIcPUv3MhB9lwHIJ
|
26
|
-
sTk/bs9xcru5TPyLIxLLd6ib/pRceKH2mTkzUd0DYk9CQNXXeoGx/du5B9nh3ClP
|
27
|
-
TbVakRzl3oswgI5MQIphYxkW70SopEh4kOFSRE1ND31NNIq1YrXlgtkguQBFsZWu
|
28
|
-
QOPR6cEwFZzP0tHTYbI839WgxX6hfhIUTUz6mLqq4+3P4BG3+1OXeVDg63y8Uh78
|
29
|
-
1sE=</ds:X509Certificate>
|
30
|
-
</ds:X509Data>
|
31
|
-
</ds:KeyInfo>
|
32
|
-
</KeyDescriptor>
|
33
|
-
<KeyDescriptor use="encryption">
|
34
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
35
|
-
<ds:X509Data>
|
36
|
-
<ds:X509Certificate>MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJVUzET
|
37
|
-
MBEGA1UECAwKQ2FsaWZvcm5pYTEVMBMGA1UEBwwMU2FudGEgTW9uaWNhMREwDwYD
|
38
|
-
VQQKDAhPbmVMb2dpbjEZMBcGA1UEAwwQYXBwLm9uZWxvZ2luLmNvbTAeFw0xMzA2
|
39
|
-
MDUxNzE2MjBaFw0xODA2MDUxNzE2MjBaMGcxCzAJBgNVBAYTAlVTMRMwEQYDVQQI
|
40
|
-
DApDYWxpZm9ybmlhMRUwEwYDVQQHDAxTYW50YSBNb25pY2ExETAPBgNVBAoMCE9u
|
41
|
-
ZUxvZ2luMRkwFwYDVQQDDBBhcHAub25lbG9naW4uY29tMIIBIjANBgkqhkiG9w0B
|
42
|
-
AQEFAAOCAQ8AMIIBCgKCAQEAse8rnep4qL2GmhH10pMQyJ2Jae+AQHyfgVjaQZ7Z
|
43
|
-
0QQog5jX91vcJRSMi0XWJnUtOr6lF0dq1+yckjZ92wyLrH+7fvngNO1aV4Mjk9sT
|
44
|
-
gf+iqMrae6y6fRxDt9PXrEFVjvd3vv7QTJf2FuI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
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
63
|
-
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://app.onelogin.com/trust/saml2/http-post/sso/383123"/>
|
64
|
-
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://app.onelogin.com/trust/saml2/http-post/sso/383123"/>
|
65
|
-
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://app.onelogin.com/trust/saml2/soap/sso/383123"/>
|
66
|
-
</IDPSSODescriptor>
|
67
|
-
<ContactPerson contactType="technical">
|
68
|
-
<SurName>Support</SurName>
|
69
|
-
<EmailAddress>support@onelogin.com</EmailAddress>
|
70
|
-
</ContactPerson>
|
71
|
-
</EntityDescriptor>
|
@@ -1,53 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<md:EntitiesDescriptor validUntil="2014-04-17T18:02:33.910Z" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata">
|
3
|
-
<md:EntityDescriptor entityID="https://foo.example.com/access/saml/idp.xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="md:EntityDescriptorType">
|
4
|
-
<md:IDPSSODescriptor WantAuthnRequestsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
5
|
-
<md:KeyDescriptor use="signing">
|
6
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
7
|
-
<ds:X509Data>
|
8
|
-
<ds:X509Certificate>LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURxekNDQXhTZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBRENCaGpFTE1Ba0dBMVVFQmhNQ1FWVXgKRERBS0JnTlZCQWdUQTA1VFZ6RVBNQTBHQTFVRUJ4TUdVM2xrYm1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NUWt3CkJ3WURWUVFMREFBeEdEQVdCZ05WQkFNTUQyeGhkM0psYm1ObGNHbDBMbU52YlRFbE1DTUdDU3FHU0liM0RRRUoKQVF3V2JHRjNjbVZ1WTJVdWNHbDBRR2R0WVdsc0xtTnZiWUlCQVRBTkJna3Foa2lHOXcwQkFRc0ZBQU9CZ1FDRQpUQWVKVERTQVc2ejFVRlRWN1FyZWg0VUxGT1JhajkrZUN1RjNLV0RIYyswSVFDajlyZG5ERzRRL3dmNy9yYVEwCkpuUFFDU0NkclBMSmV5b1BIN1FhVHdvYUY3ZHpWdzRMQ3N5TkpURld4NGNNNTBWdzZSNWZET2dpQzhic2ZmUzgKQkptb3VscnJaRE5OVmpHOG1XNmNMeHJZdlZRT3JSVmVjQ0ZJZ3NzQ2JBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=</ds:X509Certificate>
|
16
|
-
</ds:X509Data>
|
17
|
-
</ds:KeyInfo>
|
18
|
-
</md:KeyDescriptor>
|
19
|
-
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://hello.example.com/access/saml/logout" ResponseLocation="https://hello.example.com/access/saml/logout"/>
|
20
|
-
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
|
21
|
-
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>
|
22
|
-
<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>
|
23
|
-
<md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://hello.example.com/access/saml/login"/>
|
24
|
-
<saml:Attribute Name="AuthToken" NameFormat="urn:oasis:names:tc:SAML:2.0:att rname-format:basic" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"/>
|
25
|
-
<saml:Attribute Name="SSOStartPage" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"/>
|
26
|
-
</md:IDPSSODescriptor>
|
27
|
-
</md:EntityDescriptor>
|
28
|
-
<md:EntityDescriptor entityID="https://bar.example.com/access/saml/idp.xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="md:EntityDescriptorType">
|
29
|
-
<md:IDPSSODescriptor WantAuthnRequestsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
30
|
-
<md:KeyDescriptor use="signing">
|
31
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
32
|
-
<ds:X509Data>
|
33
|
-
<ds:X509Certificate>LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURxekNDQXhTZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBRENCaGpFTE1Ba0dBMVVFQmhNQ1FWVXgKRERBS0JnTlZCQWdUQTA1VFZ6RVBNQTBHQTFVRUJ4TUdVM2xrYm1WNU1Rd3dDZ1lEVlFRS0RBTlFTVlF4Q1RBSApCZ05WQkFzTUFERVlNQllHQTFVRUF3d1BiR0YzY21WdVkyVndhWFF1WTI5dE1TVXdJd1lKS29aSWh2Y05BUWtCCkRCWnNZWGR5Wlc1alpTNXdhWFJBWjIxaGFXd3VZMjl0TUI0WERURXlNRFF4T1RJeU5UUXhPRm9YRFRNeU1EUXgKTkRJeU5UUXhPRm93Z1lZeEN6QUpCZ05WQkFZVEFrRlZNUXd3Q2dZRFZRUUlFd05PVTFjeER6QU5CZ05WQkFjVApCbE41Wkc1bGVURU1NQW9HQTFVRUNnd0RVRWxVTVFrd0J3WURWUVFMREFBeEdEQVdCZ05WQkFNTUQyeGhkM0psCmJtTmxjR2wwTG1OdmJURWxNQ01HQ1NxR1NJYjNEUUVKQVF3V2JHRjNjbVZ1WTJVdWNHbDBRR2R0WVdsc0xtTnYKYlRDQm56QU5CZ2txaGt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|
-
</ds:KeyInfo>
|
43
|
-
</md:KeyDescriptor>
|
44
|
-
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://hello.example.com/access/saml/logout" ResponseLocation="https://hello.example.com/access/saml/logout"/>
|
45
|
-
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
|
46
|
-
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>
|
47
|
-
<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>
|
48
|
-
<md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://hello.example.com/access/saml/login"/>
|
49
|
-
<saml:Attribute Name="AuthToken" NameFormat="urn:oasis:names:tc:SAML:2.0:att rname-format:basic" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"/>
|
50
|
-
<saml:Attribute Name="SSOStartPage" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"/>
|
51
|
-
</md:IDPSSODescriptor>
|
52
|
-
</md:EntityDescriptor>
|
53
|
-
</md:EntitiesDescriptor>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<md:EntityDescriptor entityID="https://sp.example.com/sp.xml" validUntil="2014-04-17T18:02:33.910Z" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata">
|
3
|
-
<md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol" AuthnRequestsSigned="true">
|
4
|
-
<md:KeyDescriptor use="signing">
|
5
|
-
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
6
|
-
<ds:X509Data>
|
7
|
-
<ds:X509Certificate>LS0tLS1CRUdJTi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nFJQVVrVGpmQmlmS1B2STRCYlk1TGNHWGFzZWdVY21oZ1l5a2dZa3dnWVl4Q3pBSkJnTlZCQVlUQWtGVgpNUXd3Q2dZRFZRUUlFd05PVTFjeER6QU5CZ05WQkFjVEJsTjVaRzVsZVRFTU1Bb0dBMVVFQ2d3RFVFbFVNUWt3CkJ3WURWUVFMREFBeEdEQVdCZ05WQkFNTUQyeGhkM0psYm1ObGNHbDBMbU52YlRFbE1DTUdDU3FHU0liM0RRRUoKQVF3V2JHRjNjbVZ1WTJVdWNHbDBRR2R0WVdsc0xtTnZiWUlCQVRBTkJna3Foa2lHOXcwQkFRc0ZBQU9CZ1FDRQpUQWVKVERTQVc2ejFVRlRWN1FyZWg0VUxGT1JhajkrZUN1RjNLV0RIYyswSVFDajlyZG5ERzRRL3dmNy9yYVEwCkpuUFFDU0NkclBMSmV5b1BIN1FhVHdvYUY3ZHpWdzRMQ3N5TkpURld4NGNNNTBWdzZSNWZET2dpQzhic2ZmUzgKQkptb3VscnJaRE5OVmpHOG1XNmNMeHJZdlZRT3JSVmVjQ0ZJZ3NzQ2JBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=</ds:X509Certificate>
|
15
|
-
</ds:X509Data>
|
16
|
-
</ds:KeyInfo>
|
17
|
-
</md:KeyDescriptor>
|
18
|
-
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://sp.example.com/saml2-logout.php/default-sp"/>
|
19
|
-
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://sp.example.com/saml2-acs.php/default-sp" index="0"/>
|
20
|
-
</md:SPSSODescriptor>
|
21
|
-
</md:EntityDescriptor>
|
data/test/metadata_test.rb
DELETED
@@ -1,331 +0,0 @@
|
|
1
|
-
require File.expand_path(File.join(File.dirname(__FILE__), "test_helper"))
|
2
|
-
|
3
|
-
require 'onelogin/ruby-saml/metadata'
|
4
|
-
|
5
|
-
class MetadataTest < Minitest::Test
|
6
|
-
|
7
|
-
describe 'Metadata' do
|
8
|
-
let(:settings) { OneLogin::RubySaml::Settings.new }
|
9
|
-
let(:xml_text) { OneLogin::RubySaml::Metadata.new.generate(settings, false) }
|
10
|
-
let(:xml_doc) { REXML::Document.new(xml_text) }
|
11
|
-
let(:spsso_descriptor) { REXML::XPath.first(xml_doc, "//md:SPSSODescriptor") }
|
12
|
-
let(:acs) { REXML::XPath.first(xml_doc, "//md:AssertionConsumerService") }
|
13
|
-
|
14
|
-
before do
|
15
|
-
settings.issuer = "https://example.com"
|
16
|
-
settings.name_identifier_format = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
|
17
|
-
settings.assertion_consumer_service_url = "https://foo.example/saml/consume"
|
18
|
-
end
|
19
|
-
|
20
|
-
it "generates Pretty Print Service Provider Metadata" do
|
21
|
-
xml_text = OneLogin::RubySaml::Metadata.new.generate(settings, true)
|
22
|
-
# assert correct xml declaration
|
23
|
-
start = "<?xml version='1.0' encoding='UTF-8'?>\n<md:EntityDescriptor"
|
24
|
-
assert_equal xml_text[0..start.length-1],start
|
25
|
-
|
26
|
-
assert_equal "https://example.com", REXML::XPath.first(xml_doc, "//md:EntityDescriptor").attribute("entityID").value
|
27
|
-
|
28
|
-
assert_equal "urn:oasis:names:tc:SAML:2.0:protocol", spsso_descriptor.attribute("protocolSupportEnumeration").value
|
29
|
-
assert_equal "false", spsso_descriptor.attribute("AuthnRequestsSigned").value
|
30
|
-
assert_equal "false", spsso_descriptor.attribute("WantAssertionsSigned").value
|
31
|
-
|
32
|
-
assert_equal "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", REXML::XPath.first(xml_doc, "//md:NameIDFormat").text.strip
|
33
|
-
|
34
|
-
assert_equal "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", acs.attribute("Binding").value
|
35
|
-
assert_equal "https://foo.example/saml/consume", acs.attribute("Location").value
|
36
|
-
|
37
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
38
|
-
end
|
39
|
-
|
40
|
-
it "generates Service Provider Metadata" do
|
41
|
-
settings.single_logout_service_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
|
42
|
-
settings.single_logout_service_url = "https://foo.example/saml/sls"
|
43
|
-
xml_metadata = OneLogin::RubySaml::Metadata.new.generate(settings, false)
|
44
|
-
|
45
|
-
start = "<?xml version='1.0' encoding='UTF-8'?><md:EntityDescriptor"
|
46
|
-
assert_equal xml_metadata[0..start.length-1],start
|
47
|
-
|
48
|
-
doc_metadata = REXML::Document.new(xml_metadata)
|
49
|
-
sls = REXML::XPath.first(doc_metadata, "//md:SingleLogoutService")
|
50
|
-
|
51
|
-
assert_equal "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect", sls.attribute("Binding").value
|
52
|
-
assert_equal "https://foo.example/saml/sls", sls.attribute("Location").value
|
53
|
-
assert_equal "https://foo.example/saml/sls", sls.attribute("ResponseLocation").value
|
54
|
-
assert_nil sls.attribute("isDefault")
|
55
|
-
assert_nil sls.attribute("index")
|
56
|
-
|
57
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
58
|
-
end
|
59
|
-
|
60
|
-
it "generates Service Provider Metadata with single logout service" do
|
61
|
-
start = "<?xml version='1.0' encoding='UTF-8'?><md:EntityDescriptor"
|
62
|
-
assert_equal xml_text[0..start.length-1], start
|
63
|
-
|
64
|
-
assert_equal "https://example.com", REXML::XPath.first(xml_doc, "//md:EntityDescriptor").attribute("entityID").value
|
65
|
-
|
66
|
-
assert_equal "urn:oasis:names:tc:SAML:2.0:protocol", spsso_descriptor.attribute("protocolSupportEnumeration").value
|
67
|
-
assert_equal "false", spsso_descriptor.attribute("AuthnRequestsSigned").value
|
68
|
-
assert_equal "false", spsso_descriptor.attribute("WantAssertionsSigned").value
|
69
|
-
|
70
|
-
assert_equal "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", REXML::XPath.first(xml_doc, "//md:NameIDFormat").text.strip
|
71
|
-
|
72
|
-
assert_equal "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", acs.attribute("Binding").value
|
73
|
-
assert_equal "https://foo.example/saml/consume", acs.attribute("Location").value
|
74
|
-
|
75
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
76
|
-
end
|
77
|
-
|
78
|
-
describe "WantAssertionsSigned" do
|
79
|
-
it "generates Service Provider Metadata with WantAssertionsSigned = false" do
|
80
|
-
settings.security[:want_assertions_signed] = false
|
81
|
-
assert_equal "false", spsso_descriptor.attribute("WantAssertionsSigned").value
|
82
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
83
|
-
end
|
84
|
-
|
85
|
-
it "generates Service Provider Metadata with WantAssertionsSigned = true" do
|
86
|
-
settings.security[:want_assertions_signed] = true
|
87
|
-
assert_equal "true", spsso_descriptor.attribute("WantAssertionsSigned").value
|
88
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
describe "with a sign/encrypt certificate" do
|
93
|
-
let(:key_descriptors) do
|
94
|
-
REXML::XPath.match(
|
95
|
-
xml_doc,
|
96
|
-
"//md:KeyDescriptor",
|
97
|
-
"md" => "urn:oasis:names:tc:SAML:2.0:metadata"
|
98
|
-
)
|
99
|
-
end
|
100
|
-
let(:cert_nodes) do
|
101
|
-
REXML::XPath.match(
|
102
|
-
xml_doc,
|
103
|
-
"//md:KeyDescriptor/ds:KeyInfo/ds:X509Data/ds:X509Certificate",
|
104
|
-
"md" => "urn:oasis:names:tc:SAML:2.0:metadata",
|
105
|
-
"ds" => "http://www.w3.org/2000/09/xmldsig#"
|
106
|
-
)
|
107
|
-
end
|
108
|
-
let(:cert) { OpenSSL::X509::Certificate.new(Base64.decode64(cert_nodes[0].text)) }
|
109
|
-
|
110
|
-
before do
|
111
|
-
settings.certificate = ruby_saml_cert_text
|
112
|
-
end
|
113
|
-
|
114
|
-
it "generates Service Provider Metadata with X509Certificate for sign" do
|
115
|
-
assert_equal 1, key_descriptors.length
|
116
|
-
assert_equal "signing", key_descriptors[0].attribute("use").value
|
117
|
-
|
118
|
-
assert_equal 1, cert_nodes.length
|
119
|
-
assert_equal ruby_saml_cert.to_der, cert.to_der
|
120
|
-
|
121
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
122
|
-
end
|
123
|
-
|
124
|
-
describe "and signed authentication requests" do
|
125
|
-
before do
|
126
|
-
settings.security[:authn_requests_signed] = true
|
127
|
-
end
|
128
|
-
|
129
|
-
it "generates Service Provider Metadata with AuthnRequestsSigned" do
|
130
|
-
assert_equal "true", spsso_descriptor.attribute("AuthnRequestsSigned").value
|
131
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
describe "and encrypted assertions" do
|
136
|
-
before do
|
137
|
-
settings.security[:want_assertions_encrypted] = true
|
138
|
-
end
|
139
|
-
|
140
|
-
it "generates Service Provider Metadata with X509Certificate for encrypt" do
|
141
|
-
assert_equal 2, key_descriptors.length
|
142
|
-
|
143
|
-
assert_equal "encryption", key_descriptors[1].attribute("use").value
|
144
|
-
|
145
|
-
assert_equal 2, cert_nodes.length
|
146
|
-
assert_equal cert_nodes[0].text, cert_nodes[1].text
|
147
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
148
|
-
end
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
describe "with a future SP certificate" do
|
153
|
-
let(:key_descriptors) do
|
154
|
-
REXML::XPath.match(
|
155
|
-
xml_doc,
|
156
|
-
"//md:KeyDescriptor",
|
157
|
-
"md" => "urn:oasis:names:tc:SAML:2.0:metadata"
|
158
|
-
)
|
159
|
-
end
|
160
|
-
let(:cert_nodes) do
|
161
|
-
REXML::XPath.match(
|
162
|
-
xml_doc,
|
163
|
-
"//md:KeyDescriptor/ds:KeyInfo/ds:X509Data/ds:X509Certificate",
|
164
|
-
"md" => "urn:oasis:names:tc:SAML:2.0:metadata",
|
165
|
-
"ds" => "http://www.w3.org/2000/09/xmldsig#"
|
166
|
-
)
|
167
|
-
end
|
168
|
-
|
169
|
-
before do
|
170
|
-
settings.certificate = ruby_saml_cert_text
|
171
|
-
settings.certificate_new = ruby_saml_cert_text2
|
172
|
-
end
|
173
|
-
|
174
|
-
it "generates Service Provider Metadata with 2 X509Certificate for sign" do
|
175
|
-
assert_equal 2, key_descriptors.length
|
176
|
-
assert_equal "signing", key_descriptors[0].attribute("use").value
|
177
|
-
assert_equal "signing", key_descriptors[1].attribute("use").value
|
178
|
-
|
179
|
-
cert = OpenSSL::X509::Certificate.new(Base64.decode64(cert_nodes[0].text))
|
180
|
-
cert_new = OpenSSL::X509::Certificate.new(Base64.decode64(cert_nodes[1].text))
|
181
|
-
|
182
|
-
assert_equal 2, cert_nodes.length
|
183
|
-
assert_equal ruby_saml_cert.to_der, cert.to_der
|
184
|
-
assert_equal ruby_saml_cert2.to_der, cert_new.to_der
|
185
|
-
|
186
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
187
|
-
end
|
188
|
-
|
189
|
-
describe "and signed authentication requests" do
|
190
|
-
before do
|
191
|
-
settings.security[:authn_requests_signed] = true
|
192
|
-
end
|
193
|
-
|
194
|
-
it "generates Service Provider Metadata with AuthnRequestsSigned" do
|
195
|
-
assert_equal "true", spsso_descriptor.attribute("AuthnRequestsSigned").value
|
196
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
describe "and encrypted assertions" do
|
201
|
-
before do
|
202
|
-
settings.security[:want_assertions_encrypted] = true
|
203
|
-
end
|
204
|
-
|
205
|
-
it "generates Service Provider Metadata with X509Certificate for encrypt" do
|
206
|
-
assert_equal 4, key_descriptors.length
|
207
|
-
assert_equal "signing", key_descriptors[0].attribute("use").value
|
208
|
-
assert_equal "encryption", key_descriptors[1].attribute("use").value
|
209
|
-
assert_equal "signing", key_descriptors[2].attribute("use").value
|
210
|
-
assert_equal "encryption", key_descriptors[3].attribute("use").value
|
211
|
-
|
212
|
-
assert_equal 4, cert_nodes.length
|
213
|
-
assert_equal cert_nodes[0].text, cert_nodes[1].text
|
214
|
-
assert_equal cert_nodes[2].text, cert_nodes[3].text
|
215
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
216
|
-
end
|
217
|
-
end
|
218
|
-
|
219
|
-
end
|
220
|
-
|
221
|
-
describe "when attribute service is configured with multiple attribute values" do
|
222
|
-
let(:attr_svc) { REXML::XPath.first(xml_doc, "//md:AttributeConsumingService") }
|
223
|
-
let(:req_attr) { REXML::XPath.first(xml_doc, "//md:RequestedAttribute") }
|
224
|
-
|
225
|
-
before do
|
226
|
-
settings.attribute_consuming_service.configure do
|
227
|
-
service_name "Test Service"
|
228
|
-
add_attribute(:name => 'Name', :name_format => 'Name Format', :friendly_name => 'Friendly Name', :attribute_value => ['Attribute Value One', false])
|
229
|
-
end
|
230
|
-
end
|
231
|
-
|
232
|
-
it "generates attribute service" do
|
233
|
-
assert_equal "true", attr_svc.attribute("isDefault").value
|
234
|
-
assert_equal "1", attr_svc.attribute("index").value
|
235
|
-
assert_equal REXML::XPath.first(xml_doc, "//md:ServiceName").text.strip, "Test Service"
|
236
|
-
|
237
|
-
assert_equal "Name", req_attr.attribute("Name").value
|
238
|
-
assert_equal "Name Format", req_attr.attribute("NameFormat").value
|
239
|
-
assert_equal "Friendly Name", req_attr.attribute("FriendlyName").value
|
240
|
-
|
241
|
-
attribute_values = REXML::XPath.match(xml_doc, "//saml:AttributeValue").map(&:text)
|
242
|
-
assert_equal "Attribute Value One", attribute_values[0]
|
243
|
-
assert_equal 'false', attribute_values[1]
|
244
|
-
|
245
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
246
|
-
end
|
247
|
-
end
|
248
|
-
|
249
|
-
describe "when attribute service is configured" do
|
250
|
-
let(:attr_svc) { REXML::XPath.first(xml_doc, '//md:AttributeConsumingService') }
|
251
|
-
let(:req_attr) { REXML::XPath.first(xml_doc, '//md:RequestedAttribute') }
|
252
|
-
|
253
|
-
before do
|
254
|
-
settings.attribute_consuming_service.configure do
|
255
|
-
service_name "Test Service"
|
256
|
-
add_attribute(:name => 'active', :name_format => 'format', :friendly_name => 'Active', :attribute_value => true)
|
257
|
-
end
|
258
|
-
end
|
259
|
-
|
260
|
-
it "generates attribute service" do
|
261
|
-
assert_equal "true", attr_svc.attribute("isDefault").value
|
262
|
-
assert_equal "1", attr_svc.attribute("index").value
|
263
|
-
assert_equal REXML::XPath.first(xml_doc, "//md:ServiceName").text.strip, "Test Service"
|
264
|
-
|
265
|
-
assert_equal 'active', req_attr.attribute('Name').value
|
266
|
-
assert_equal 'format', req_attr.attribute('NameFormat').value
|
267
|
-
assert_equal 'Active', req_attr.attribute('FriendlyName').value
|
268
|
-
assert_equal 'true', REXML::XPath.first(xml_doc, '//saml:AttributeValue').text.strip
|
269
|
-
|
270
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
271
|
-
end
|
272
|
-
|
273
|
-
describe "#service_name" do
|
274
|
-
before do
|
275
|
-
settings.attribute_consuming_service.service_name("Test2 Service")
|
276
|
-
end
|
277
|
-
|
278
|
-
it "change service name" do
|
279
|
-
assert_equal REXML::XPath.first(xml_doc, "//md:ServiceName").text.strip, "Test2 Service"
|
280
|
-
end
|
281
|
-
end
|
282
|
-
|
283
|
-
describe "#service_index" do
|
284
|
-
before do
|
285
|
-
settings.attribute_consuming_service.service_index(2)
|
286
|
-
end
|
287
|
-
|
288
|
-
it "change service index" do
|
289
|
-
assert_equal "2", attr_svc.attribute("index").value
|
290
|
-
end
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
describe "when the settings indicate to sign (embedded) metadata" do
|
295
|
-
before do
|
296
|
-
settings.security[:metadata_signed] = true
|
297
|
-
settings.certificate = ruby_saml_cert_text
|
298
|
-
settings.private_key = ruby_saml_key_text
|
299
|
-
end
|
300
|
-
|
301
|
-
it "creates a signed metadata" do
|
302
|
-
assert_match %r[<ds:SignatureValue>([a-zA-Z0-9/+=]+)</ds:SignatureValue>]m, xml_text
|
303
|
-
assert_match %r[<ds:SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#rsa-sha1'/>], xml_text
|
304
|
-
assert_match %r[<ds:DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>], xml_text
|
305
|
-
signed_metadata = XMLSecurity::SignedDocument.new(xml_text)
|
306
|
-
assert signed_metadata.validate_document(ruby_saml_cert_fingerprint, false)
|
307
|
-
|
308
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
309
|
-
end
|
310
|
-
|
311
|
-
describe "when digest and signature methods are specified" do
|
312
|
-
before do
|
313
|
-
settings.security[:signature_method] = XMLSecurity::Document::RSA_SHA256
|
314
|
-
settings.security[:digest_method] = XMLSecurity::Document::SHA512
|
315
|
-
end
|
316
|
-
|
317
|
-
it "creates a signed metadata with specified digest and signature methods" do
|
318
|
-
assert_match %r[<ds:SignatureValue>([a-zA-Z0-9/+=]+)</ds:SignatureValue>]m, xml_text
|
319
|
-
assert_match %r[<ds:SignatureMethod Algorithm='http://www.w3.org/2001/04/xmldsig-more#rsa-sha256'/>], xml_text
|
320
|
-
assert_match %r[<ds:DigestMethod Algorithm='http://www.w3.org/2001/04/xmlenc#sha512'/>], xml_text
|
321
|
-
|
322
|
-
signed_metadata_2 = XMLSecurity::SignedDocument.new(xml_text)
|
323
|
-
|
324
|
-
assert signed_metadata_2.validate_document(ruby_saml_cert_fingerprint, false)
|
325
|
-
|
326
|
-
assert validate_xml!(xml_text, "saml-schema-metadata-2.0.xsd")
|
327
|
-
end
|
328
|
-
end
|
329
|
-
end
|
330
|
-
end
|
331
|
-
end
|