364 lines
17 KiB
Perl
364 lines
17 KiB
Perl
|
sub samlSPMetaDataXML {
|
||
|
my ( $name, $type ) = @_;
|
||
|
my $org = uc($name);
|
||
|
return <<"EOF"
|
||
|
<?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://auth.$name.com/saml/metadata">
|
||
|
<IDPSSODescriptor WantAuthnRequestsSigned="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>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
u4iToYAEmWQxgZDihGVzMMql1elPn37domWcvXeU2E4yt2hh5jkQHiFjgodfOlNeRIw5QJVlUBwr
|
||
|
+CQvbaKRFXd7BrOhQIDC0TZPRVB0XHarUtsCuDekN4/2GKSzHsoToKUVPWq9thsuek3xkpsJGZNX
|
||
|
7bglfEc9+QQpYTqN1rkdN1PVU0epNMokFFGho5pLRqLUV5+I/QXAL49jfTjaSxsp4UndTI8/+mGS
|
||
|
RSq+nrT2zyQRM/vkj5vR9ZVz67HO/+Wk3Mx6RAwkVcMdgMAqCq8odmbI0yCRZiTL9ybKWRKqWJoK
|
||
|
J0p5+Q2fPEBPupQZR09Jt/JPuLVSsGfCxi9Nqw==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<KeyDescriptor use="encryption">
|
||
|
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<ds:KeyValue>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
sRaod2RZ8hMFBl+VhsnhyPM8l/Fj1obnBxfQIaWuHFIFfXiGe/CYHuZ5QJQLnZxHMJX6LL3Sh+Us
|
||
|
og3p0jpijpcg0QgfBSEkfopKTgReYN8DiDIll0rV1XdTni7E85Nd1YyNy3ui/ZD+UShWwqu6jLVL
|
||
|
R+QUm+/1LIKYb3OCBTvOlY7xHoP6NSU1+Mr+YzGBUacdO2vnNxe/PQhxIeP1zO0njuqGHkwEpy8r
|
||
|
UWRZbbDn31TmKjqlhgtsz5HPhbRaYEExhyepKgBiNz+RyxtYXVhuG8OrWQDoS5gYHSjdw1CTJyix
|
||
|
eJwyoqA9RGYguG5nh9zndi3LWAh7Z0lx+tIz+w==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<ArtifactResolutionService isDefault="true" index="0"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||
|
Location="http://auth.$name.com/saml/artifact" />
|
||
|
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/singleLogout"
|
||
|
ResponseLocation="http://auth.$name.com/saml/singleLogoutReturn" />
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
||
|
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/singleSignOn" />
|
||
|
</IDPSSODescriptor>
|
||
|
<SPSSODescriptor AuthnRequestsSigned="true"
|
||
|
WantAssertionsSigned="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>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
u4iToYAEmWQxgZDihGVzMMql1elPn37domWcvXeU2E4yt2hh5jkQHiFjgodfOlNeRIw5QJVlUBwr
|
||
|
+CQvbaKRFXd7BrOhQIDC0TZPRVB0XHarUtsCuDekN4/2GKSzHsoToKUVPWq9thsuek3xkpsJGZNX
|
||
|
7bglfEc9+QQpYTqN1rkdN1PVU0epNMokFFGho5pLRqLUV5+I/QXAL49jfTjaSxsp4UndTI8/+mGS
|
||
|
RSq+nrT2zyQRM/vkj5vR9ZVz67HO/+Wk3Mx6RAwkVcMdgMAqCq8odmbI0yCRZiTL9ybKWRKqWJoK
|
||
|
J0p5+Q2fPEBPupQZR09Jt/JPuLVSsGfCxi9Nqw==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<KeyDescriptor use="encryption">
|
||
|
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<ds:KeyValue>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
sRaod2RZ8hMFBl+VhsnhyPM8l/Fj1obnBxfQIaWuHFIFfXiGe/CYHuZ5QJQLnZxHMJX6LL3Sh+Us
|
||
|
og3p0jpijpcg0QgfBSEkfopKTgReYN8DiDIll0rV1XdTni7E85Nd1YyNy3ui/ZD+UShWwqu6jLVL
|
||
|
R+QUm+/1LIKYb3OCBTvOlY7xHoP6NSU1+Mr+YzGBUacdO2vnNxe/PQhxIeP1zO0njuqGHkwEpy8r
|
||
|
UWRZbbDn31TmKjqlhgtsz5HPhbRaYEExhyepKgBiNz+RyxtYXVhuG8OrWQDoS5gYHSjdw1CTJyix
|
||
|
eJwyoqA9RGYguG5nh9zndi3LWAh7Z0lx+tIz+w==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<ArtifactResolutionService isDefault="true" index="0"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||
|
Location="http://auth.$name.com/saml/artifact" />
|
||
|
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/proxySingleLogout"
|
||
|
ResponseLocation="http://auth.$name.com/saml/proxySingleLogoutReturn" />
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
||
|
<AssertionConsumerService isDefault="true" index="0"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
|
||
|
Location="http://auth.$name.com/saml/proxySingleSignOnPost" />
|
||
|
<AssertionConsumerService isDefault="false" index="1"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
|
||
|
Location="http://auth.$name.com/saml/proxySingleSignOnArtifact" />
|
||
|
</SPSSODescriptor>
|
||
|
<AttributeAuthorityDescriptor 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>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
u4iToYAEmWQxgZDihGVzMMql1elPn37domWcvXeU2E4yt2hh5jkQHiFjgodfOlNeRIw5QJVlUBwr
|
||
|
+CQvbaKRFXd7BrOhQIDC0TZPRVB0XHarUtsCuDekN4/2GKSzHsoToKUVPWq9thsuek3xkpsJGZNX
|
||
|
7bglfEc9+QQpYTqN1rkdN1PVU0epNMokFFGho5pLRqLUV5+I/QXAL49jfTjaSxsp4UndTI8/+mGS
|
||
|
RSq+nrT2zyQRM/vkj5vR9ZVz67HO/+Wk3Mx6RAwkVcMdgMAqCq8odmbI0yCRZiTL9ybKWRKqWJoK
|
||
|
J0p5+Q2fPEBPupQZR09Jt/JPuLVSsGfCxi9Nqw==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<KeyDescriptor use="encryption">
|
||
|
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<ds:KeyValue>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
sRaod2RZ8hMFBl+VhsnhyPM8l/Fj1obnBxfQIaWuHFIFfXiGe/CYHuZ5QJQLnZxHMJX6LL3Sh+Us
|
||
|
og3p0jpijpcg0QgfBSEkfopKTgReYN8DiDIll0rV1XdTni7E85Nd1YyNy3ui/ZD+UShWwqu6jLVL
|
||
|
R+QUm+/1LIKYb3OCBTvOlY7xHoP6NSU1+Mr+YzGBUacdO2vnNxe/PQhxIeP1zO0njuqGHkwEpy8r
|
||
|
UWRZbbDn31TmKjqlhgtsz5HPhbRaYEExhyepKgBiNz+RyxtYXVhuG8OrWQDoS5gYHSjdw1CTJyix
|
||
|
eJwyoqA9RGYguG5nh9zndi3LWAh7Z0lx+tIz+w==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||
|
Location="http://auth.$name.com/saml/AA/SOAP" />
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
||
|
</AttributeAuthorityDescriptor>
|
||
|
<Organization>
|
||
|
<OrganizationName xml:lang="en">$org</OrganizationName>
|
||
|
<OrganizationDisplayName xml:lang="en">
|
||
|
$org</OrganizationDisplayName>
|
||
|
<OrganizationURL xml:lang="en">
|
||
|
http://www.$name.com</OrganizationURL>
|
||
|
</Organization>
|
||
|
</EntityDescriptor>
|
||
|
EOF
|
||
|
;
|
||
|
}
|
||
|
|
||
|
sub samlIDPMetaDataXML {
|
||
|
my ( $name, $type ) = @_;
|
||
|
my $org = uc($name);
|
||
|
return <<"EOF"
|
||
|
<?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://auth.$name.com/saml/metadata">
|
||
|
<IDPSSODescriptor WantAuthnRequestsSigned="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>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
tR/wgDqWB4Maho5V6TjcL/NbNfjgIh7GcgkrB5RZcVT1GTejJlMjUQdgBKBuZXQN+7/29P6UcGq1
|
||
|
kYalURq6S8SpeJ1ofp5rBEoD/TIkvU0JOcid65wp+fdzXGXsfiZvHraU74jSCgjP/wqfVGRyBIQz
|
||
|
B0SIxSpnrsigqNsE1E94toDMx4wovjHu/9ABAImREV7Sz83OeFF00/sghrjTEJOD/gHf04JCn9Mg
|
||
|
NOqvSTysr9LXWg/oUKQDEYeTq9ux6pq/oqv1MxwONbSZPtN5yD41mi+hT8Rh+W8Je8rsiML4VMxz
|
||
|
sb1l9303asw6suo5bLTISKNSbu1nt1NkpNxzyw==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<KeyDescriptor use="encryption">
|
||
|
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<ds:KeyValue>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
nfKBDG/K0TnGT7Xu8q1N45sNWvIK91SqNg8nvN2uVeKoHADTcsus5Xn3id5+8Q9TuMFsW9kIEeXi
|
||
|
aPKXQa9ryfSNDhWDWloNkpGEeWif2BnHUu46Abu1UBWb0mH6VwcG1PR4qHruLis1odjQ1qnVDNfS
|
||
|
EASVIppEBYjDX203ypmURIzU6h53GRRRlf1BLWkbVn9ysmDeR57Xw5Rsx/+tBlcnMrkv/40DSUke
|
||
|
hQIl2JmlFrl2Caik+gU4pd20apA/pNLjBZF0OmGoS08AIR5NMd0KFa6CwZUUSHJqH5GFy5Y2yl4l
|
||
|
g8K0klAS9q7L7aXI+eFQZhkwidjpxXnHPyxIGQ==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<ArtifactResolutionService isDefault="true" index="0"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||
|
Location="http://auth.$name.com/saml/artifact" />
|
||
|
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/singleLogout"
|
||
|
ResponseLocation="http://auth.$name.com/saml/singleLogoutReturn" />
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
||
|
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/singleSignOn" />
|
||
|
</IDPSSODescriptor>
|
||
|
<SPSSODescriptor AuthnRequestsSigned="true"
|
||
|
WantAssertionsSigned="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>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
tR/wgDqWB4Maho5V6TjcL/NbNfjgIh7GcgkrB5RZcVT1GTejJlMjUQdgBKBuZXQN+7/29P6UcGq1
|
||
|
kYalURq6S8SpeJ1ofp5rBEoD/TIkvU0JOcid65wp+fdzXGXsfiZvHraU74jSCgjP/wqfVGRyBIQz
|
||
|
B0SIxSpnrsigqNsE1E94toDMx4wovjHu/9ABAImREV7Sz83OeFF00/sghrjTEJOD/gHf04JCn9Mg
|
||
|
NOqvSTysr9LXWg/oUKQDEYeTq9ux6pq/oqv1MxwONbSZPtN5yD41mi+hT8Rh+W8Je8rsiML4VMxz
|
||
|
sb1l9303asw6suo5bLTISKNSbu1nt1NkpNxzyw==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<KeyDescriptor use="encryption">
|
||
|
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<ds:KeyValue>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
nfKBDG/K0TnGT7Xu8q1N45sNWvIK91SqNg8nvN2uVeKoHADTcsus5Xn3id5+8Q9TuMFsW9kIEeXi
|
||
|
aPKXQa9ryfSNDhWDWloNkpGEeWif2BnHUu46Abu1UBWb0mH6VwcG1PR4qHruLis1odjQ1qnVDNfS
|
||
|
EASVIppEBYjDX203ypmURIzU6h53GRRRlf1BLWkbVn9ysmDeR57Xw5Rsx/+tBlcnMrkv/40DSUke
|
||
|
hQIl2JmlFrl2Caik+gU4pd20apA/pNLjBZF0OmGoS08AIR5NMd0KFa6CwZUUSHJqH5GFy5Y2yl4l
|
||
|
g8K0klAS9q7L7aXI+eFQZhkwidjpxXnHPyxIGQ==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<ArtifactResolutionService isDefault="true" index="0"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||
|
Location="http://auth.$name.com/saml/artifact" />
|
||
|
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/proxySingleLogout"
|
||
|
ResponseLocation="http://auth.$name.com/saml/proxySingleLogoutReturn" />
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
||
|
<AssertionConsumerService isDefault="true" index="0"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:$type"
|
||
|
Location="http://auth.$name.com/saml/proxySingleSignOnPost" />
|
||
|
<AssertionConsumerService isDefault="false" index="1"
|
||
|
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
|
||
|
Location="http://auth.$name.com/saml/proxySingleSignOnArtifact" />
|
||
|
</SPSSODescriptor>
|
||
|
<AttributeAuthorityDescriptor 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>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
tR/wgDqWB4Maho5V6TjcL/NbNfjgIh7GcgkrB5RZcVT1GTejJlMjUQdgBKBuZXQN+7/29P6UcGq1
|
||
|
kYalURq6S8SpeJ1ofp5rBEoD/TIkvU0JOcid65wp+fdzXGXsfiZvHraU74jSCgjP/wqfVGRyBIQz
|
||
|
B0SIxSpnrsigqNsE1E94toDMx4wovjHu/9ABAImREV7Sz83OeFF00/sghrjTEJOD/gHf04JCn9Mg
|
||
|
NOqvSTysr9LXWg/oUKQDEYeTq9ux6pq/oqv1MxwONbSZPtN5yD41mi+hT8Rh+W8Je8rsiML4VMxz
|
||
|
sb1l9303asw6suo5bLTISKNSbu1nt1NkpNxzyw==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<KeyDescriptor use="encryption">
|
||
|
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<ds:KeyValue>
|
||
|
<RSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<Modulus>
|
||
|
nfKBDG/K0TnGT7Xu8q1N45sNWvIK91SqNg8nvN2uVeKoHADTcsus5Xn3id5+8Q9TuMFsW9kIEeXi
|
||
|
aPKXQa9ryfSNDhWDWloNkpGEeWif2BnHUu46Abu1UBWb0mH6VwcG1PR4qHruLis1odjQ1qnVDNfS
|
||
|
EASVIppEBYjDX203ypmURIzU6h53GRRRlf1BLWkbVn9ysmDeR57Xw5Rsx/+tBlcnMrkv/40DSUke
|
||
|
hQIl2JmlFrl2Caik+gU4pd20apA/pNLjBZF0OmGoS08AIR5NMd0KFa6CwZUUSHJqH5GFy5Y2yl4l
|
||
|
g8K0klAS9q7L7aXI+eFQZhkwidjpxXnHPyxIGQ==</Modulus>
|
||
|
<Exponent>AQAB</Exponent>
|
||
|
</RSAKeyValue>
|
||
|
</ds:KeyValue>
|
||
|
</ds:KeyInfo>
|
||
|
</KeyDescriptor>
|
||
|
<AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||
|
Location="http://auth.$name.com/saml/AA/SOAP" />
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
|
||
|
<NameIDFormat>
|
||
|
urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
|
||
|
</AttributeAuthorityDescriptor>
|
||
|
<Organization>
|
||
|
<OrganizationName xml:lang="en">$org</OrganizationName>
|
||
|
<OrganizationDisplayName xml:lang="en">
|
||
|
$org</OrganizationDisplayName>
|
||
|
<OrganizationURL xml:lang="en">
|
||
|
http://www.$name.fr/</OrganizationURL>
|
||
|
</Organization>
|
||
|
</EntityDescriptor>
|
||
|
EOF
|
||
|
;
|
||
|
}
|
||
|
|
||
|
1;
|