diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-06-14 21:21:29 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-06-14 21:21:29 +0000 |
commit | bf2274f20d9658968d05a4f63865dd72c34bda05 (patch) | |
tree | 96289e95ec69bde953b3809a2f0f9cf87540911e /tests | |
parent | c1902b7d7e10d56982ee0020d5158de564974a45 (diff) | |
download | lasso-bf2274f20d9658968d05a4f63865dd72c34bda05.tar.gz lasso-bf2274f20d9658968d05a4f63865dd72c34bda05.tar.xz lasso-bf2274f20d9658968d05a4f63865dd72c34bda05.zip |
Test: add non regression test for reloading a server dump with encrypted keys
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/sp7-saml2/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/sp7-saml2/metadata.xml | 46 | ||||
-rw-r--r-- | tests/data/sp7-saml2/password | 1 | ||||
-rw-r--r-- | tests/data/sp7-saml2/private-key.pem | 12 |
4 files changed, 61 insertions, 0 deletions
diff --git a/tests/data/sp7-saml2/Makefile.am b/tests/data/sp7-saml2/Makefile.am new file mode 100644 index 00000000..adcdf09d --- /dev/null +++ b/tests/data/sp7-saml2/Makefile.am @@ -0,0 +1,2 @@ +MAINTAINERCLEANFILES = Makefile.in +EXTRA_DIST = metadata.xml private-key.pem diff --git a/tests/data/sp7-saml2/metadata.xml b/tests/data/sp7-saml2/metadata.xml new file mode 100644 index 00000000..227b5e0b --- /dev/null +++ b/tests/data/sp7-saml2/metadata.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" + xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" + xmlns:ds="http://www.w3.org/2000/09/xmldsig#" + entityID="http://sp7/metadata"> +<SPSSODescriptor + AuthnRequestsSigned="true" + protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"> + +<KeyDescriptor use="signing"> + <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> + <ds:KeyValue>-----BEGIN PUBLIC KEY----- +MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAN0uVeOaTMQjhFlwGv/yBiGOdHDwiHb3 +BD+ALxLgfcd9LpbAePbKk4Tx/juoEEPT3guQD0zyg0IcqkXO/JxrPa0CAwEAAQ== +-----END PUBLIC KEY-----</ds:KeyValue> + </ds:KeyInfo> + </KeyDescriptor> + + <SingleLogoutService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" + Location="http://sp7/singleLogoutSOAP" /> + <SingleLogoutService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + Location="http://sp7/singleLogout" + ResponseLocation="http://sp7/singleLogoutReturn" /> + <ManageNameIDService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" + Location="http://sp7/manageNameIdSOAP" /> + <ManageNameIDService + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + Location="http://sp7/manageNameId" + ResponseLocation="http://sp7/manageNameIdReturn" /> + <AssertionConsumerService isDefault="true" index="0" + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" + Location="http://sp7/singleSignOnArtifact" /> + <AssertionConsumerService index="1" + Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + Location="http://sp7/singleSignOnPost" /> + <AssertionConsumerService index="2" + Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" + Location="http://sp7/singleSignOnSOAP" /> +</SPSSODescriptor> +<Organization> + <OrganizationName xml:lang="en">Lasso Test SP7</OrganizationName> +</Organization> +</EntityDescriptor> diff --git a/tests/data/sp7-saml2/password b/tests/data/sp7-saml2/password new file mode 100644 index 00000000..26647829 --- /dev/null +++ b/tests/data/sp7-saml2/password @@ -0,0 +1 @@ +geronimo diff --git a/tests/data/sp7-saml2/private-key.pem b/tests/data/sp7-saml2/private-key.pem new file mode 100644 index 00000000..86a59ce3 --- /dev/null +++ b/tests/data/sp7-saml2/private-key.pem @@ -0,0 +1,12 @@ +-----BEGIN RSA PRIVATE KEY----- +Proc-Type: 4,ENCRYPTED +DEK-Info: AES-256-CBC,EF4EF473516D85011B23403600D01371 + +kwbLjFZ8SsSyhTosBKpU1N5hvh4INRpJkXmj8aNHppz75nyGTo/jar+FRD6LA0fX +3dbXdcHveUHSFs9t2AADQfVAJUbZU0D3bN0horJljA+ymiZ22Fr421cdxqbd2+1U +4ZmPKF+w/ALkal821a2+br/OP6V1mA4KH7/YScmSGKGKkl1TZ/5cV8bjwAQGJyck +4e0loU9yrAkw3oua1bWAudl7suS62K0AQA3K5lmfUld3JNzO/TQq2qIcvJVU1hEi +UtE8biPKjcNOdEcz98+hgsHd1+jBR4tazaaib92P3ga7IgAr+AGwoHd6wBh5q11+ +1/cNTH8MC2AbQhhll4e9bo7A/RmorqvIUQ4/7b8lBzi8JbcgME3UOhBJqSzkgnTb +emO3IOAQHLbcvel03MbiwS8nhKjdldNdj2NudHD8FPI= +-----END RSA PRIVATE KEY----- |