Commit 1b88459c authored by Xavier Guimard's avatar Xavier Guimard

Remove samlIDPSSODescriptorSingleSignOnServiceSOAP from everywhere

parent abf8aba0
...@@ -228,8 +228,6 @@ sub defaultValues { ...@@ -228,8 +228,6 @@ sub defaultValues {
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;', 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;',
'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect' => 'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect' =>
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;', 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;',
'samlIDPSSODescriptorSingleSignOnServiceSOAP' =>
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleSignOnSOAP;',
'samlIDPSSODescriptorWantAuthnRequestsSigned' => 1, 'samlIDPSSODescriptorWantAuthnRequestsSigned' => 1,
'samlMetadataForceUTF8' => 1, 'samlMetadataForceUTF8' => 1,
'samlNameIDFormatMapEmail' => 'mail', 'samlNameIDFormatMapEmail' => 'mail',
......
...@@ -58,7 +58,7 @@ our $issuerParameters = { ...@@ -58,7 +58,7 @@ our $issuerParameters = {
issuerDBOpenIDConnect => [qw(issuerDBOpenIDConnectActivation issuerDBOpenIDConnectPath issuerDBOpenIDConnectRule)], issuerDBOpenIDConnect => [qw(issuerDBOpenIDConnectActivation issuerDBOpenIDConnectPath issuerDBOpenIDConnectRule)],
issuerDBSAML => [qw(issuerDBSAMLActivation issuerDBSAMLPath issuerDBSAMLRule)], issuerDBSAML => [qw(issuerDBSAMLActivation issuerDBSAMLPath issuerDBSAMLRule)],
}; };
our $samlServiceParameters = [qw(samlEntityID samlServicePrivateKeySig samlServicePrivateKeySigPwd samlServicePublicKeySig samlServicePrivateKeyEnc samlServicePrivateKeyEncPwd samlServicePublicKeyEnc samlServiceUseCertificateInResponse samlNameIDFormatMapEmail samlNameIDFormatMapX509 samlNameIDFormatMapWindows samlNameIDFormatMapKerberos samlAuthnContextMapPassword samlAuthnContextMapPasswordProtectedTransport samlAuthnContextMapTLSClient samlAuthnContextMapKerberos samlOrganizationDisplayName samlOrganizationName samlOrganizationURL samlSPSSODescriptorAuthnRequestsSigned samlSPSSODescriptorWantAssertionsSigned samlSPSSODescriptorSingleLogoutServiceHTTPRedirect samlSPSSODescriptorSingleLogoutServiceHTTPPost samlSPSSODescriptorSingleLogoutServiceSOAP samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact samlSPSSODescriptorAssertionConsumerServiceHTTPPost samlSPSSODescriptorArtifactResolutionServiceArtifact samlIDPSSODescriptorWantAuthnRequestsSigned samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect samlIDPSSODescriptorSingleSignOnServiceHTTPPost samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact samlIDPSSODescriptorSingleSignOnServiceSOAP samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect samlIDPSSODescriptorSingleLogoutServiceHTTPPost samlIDPSSODescriptorSingleLogoutServiceSOAP samlIDPSSODescriptorArtifactResolutionServiceArtifact samlAttributeAuthorityDescriptorAttributeServiceSOAP samlIdPResolveCookie samlMetadataForceUTF8 samlStorage samlStorageOptions samlRelayStateTimeout samlUseQueryStringSpecific samlCommonDomainCookieActivation samlCommonDomainCookieDomain samlCommonDomainCookieReader samlCommonDomainCookieWriter)]; our $samlServiceParameters = [qw(samlEntityID samlServicePrivateKeySig samlServicePrivateKeySigPwd samlServicePublicKeySig samlServicePrivateKeyEnc samlServicePrivateKeyEncPwd samlServicePublicKeyEnc samlServiceUseCertificateInResponse samlNameIDFormatMapEmail samlNameIDFormatMapX509 samlNameIDFormatMapWindows samlNameIDFormatMapKerberos samlAuthnContextMapPassword samlAuthnContextMapPasswordProtectedTransport samlAuthnContextMapTLSClient samlAuthnContextMapKerberos samlOrganizationDisplayName samlOrganizationName samlOrganizationURL samlSPSSODescriptorAuthnRequestsSigned samlSPSSODescriptorWantAssertionsSigned samlSPSSODescriptorSingleLogoutServiceHTTPRedirect samlSPSSODescriptorSingleLogoutServiceHTTPPost samlSPSSODescriptorSingleLogoutServiceSOAP samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact samlSPSSODescriptorAssertionConsumerServiceHTTPPost samlSPSSODescriptorArtifactResolutionServiceArtifact samlIDPSSODescriptorWantAuthnRequestsSigned samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect samlIDPSSODescriptorSingleSignOnServiceHTTPPost samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect samlIDPSSODescriptorSingleLogoutServiceHTTPPost samlIDPSSODescriptorSingleLogoutServiceSOAP samlIDPSSODescriptorArtifactResolutionServiceArtifact samlAttributeAuthorityDescriptorAttributeServiceSOAP samlIdPResolveCookie samlMetadataForceUTF8 samlStorage samlStorageOptions samlRelayStateTimeout samlUseQueryStringSpecific samlCommonDomainCookieActivation samlCommonDomainCookieDomain samlCommonDomainCookieReader samlCommonDomainCookieWriter)];
our $oidcServiceParameters = [qw(oidcServiceMetaDataIssuer oidcServiceMetaDataAuthorizeURI oidcServiceMetaDataTokenURI oidcServiceMetaDataUserInfoURI oidcServiceMetaDataJWKSURI oidcServiceMetaDataRegistrationURI oidcServiceMetaDataEndSessionURI oidcServiceMetaDataCheckSessionURI oidcServiceMetaDataAuthnContext oidcServicePrivateKeySig oidcServicePublicKeySig oidcServiceKeyIdSig oidcServiceAllowDynamicRegistration oidcServiceAllowAuthorizationCodeFlow oidcServiceAllowImplicitFlow oidcServiceAllowHybridFlow oidcStorage oidcStorageOptions)]; our $oidcServiceParameters = [qw(oidcServiceMetaDataIssuer oidcServiceMetaDataAuthorizeURI oidcServiceMetaDataTokenURI oidcServiceMetaDataUserInfoURI oidcServiceMetaDataJWKSURI oidcServiceMetaDataRegistrationURI oidcServiceMetaDataEndSessionURI oidcServiceMetaDataCheckSessionURI oidcServiceMetaDataAuthnContext oidcServicePrivateKeySig oidcServicePublicKeySig oidcServiceKeyIdSig oidcServiceAllowDynamicRegistration oidcServiceAllowAuthorizationCodeFlow oidcServiceAllowImplicitFlow oidcServiceAllowHybridFlow oidcStorage oidcStorageOptions)];
1; 1;
...@@ -129,7 +129,6 @@ sub serviceToXML { ...@@ -129,7 +129,6 @@ sub serviceToXML {
samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect
samlIDPSSODescriptorSingleSignOnServiceHTTPPost samlIDPSSODescriptorSingleSignOnServiceHTTPPost
samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact
samlIDPSSODescriptorSingleSignOnServiceSOAP
samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect
samlIDPSSODescriptorSingleLogoutServiceHTTPPost samlIDPSSODescriptorSingleLogoutServiceHTTPPost
samlIDPSSODescriptorSingleLogoutServiceSOAP samlIDPSSODescriptorSingleLogoutServiceSOAP
...@@ -254,9 +253,6 @@ __DATA__ ...@@ -254,9 +253,6 @@ __DATA__
<TMPL_IF NAME="samlIDPSSODescriptorSingleSignOnServiceHTTPArtifactResponseLocation"> <TMPL_IF NAME="samlIDPSSODescriptorSingleSignOnServiceHTTPArtifactResponseLocation">
ResponseLocation="<TMPL_VAR NAME="samlIDPSSODescriptorSingleSignOnServiceHTTPArtifactResponseLocation">" ResponseLocation="<TMPL_VAR NAME="samlIDPSSODescriptorSingleSignOnServiceHTTPArtifactResponseLocation">"
</TMPL_IF>/> </TMPL_IF>/>
<SingleSignOnService
Binding="<TMPL_VAR NAME="samlIDPSSODescriptorSingleSignOnServiceSOAPBinding">"
Location="<TMPL_VAR NAME="samlIDPSSODescriptorSingleSignOnServiceSOAPLocation">" />
</IDPSSODescriptor> </IDPSSODescriptor>
<SPSSODescriptor <SPSSODescriptor
......
...@@ -2380,11 +2380,6 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.] ...@@ -2380,11 +2380,6 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;', 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;',
'type' => 'samlService' 'type' => 'samlService'
}, },
'samlIDPSSODescriptorSingleSignOnServiceSOAP' => {
'default' =>
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleSignOnSOAP;',
'type' => 'samlService'
},
'samlIDPSSODescriptorWantAuthnRequestsSigned' => { 'samlIDPSSODescriptorWantAuthnRequestsSigned' => {
'default' => 1, 'default' => 1,
'type' => 'bool' 'type' => 'bool'
......
...@@ -1378,12 +1378,6 @@ sub attributes { ...@@ -1378,12 +1378,6 @@ sub attributes {
. '#PORTAL#/saml/singleSignOnArtifact;', . '#PORTAL#/saml/singleSignOnArtifact;',
documentation => 'SAML IDP SSO HTTP Artifact', documentation => 'SAML IDP SSO HTTP Artifact',
}, },
samlIDPSSODescriptorSingleSignOnServiceSOAP => {
type => 'samlService',
default => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;'
. '#PORTAL#/saml/singleSignOnSOAP;',
documentation => 'SAML IDP SSO SOAP',
},
samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect => { samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect => {
type => 'samlService', type => 'samlService',
default => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;' default => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;'
......
...@@ -784,7 +784,6 @@ sub tree { ...@@ -784,7 +784,6 @@ sub tree {
'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect', 'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect',
'samlIDPSSODescriptorSingleSignOnServiceHTTPPost', 'samlIDPSSODescriptorSingleSignOnServiceHTTPPost',
'samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact', 'samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact',
'samlIDPSSODescriptorSingleSignOnServiceSOAP'
] ]
}, },
{ {
......
...@@ -759,7 +759,6 @@ ...@@ -759,7 +759,6 @@
"samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect": "HTTP Redirect", "samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect": "HTTP Redirect",
"samlIDPSSODescriptorSingleSignOnServiceHTTPPost": "HTTP POST", "samlIDPSSODescriptorSingleSignOnServiceHTTPPost": "HTTP POST",
"samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact": "HTTP Artifact", "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact": "HTTP Artifact",
"samlIDPSSODescriptorSingleSignOnServiceSOAP": "SOAP",
"samlIDPSSODescriptorSingleLogoutService": "Single Logout", "samlIDPSSODescriptorSingleLogoutService": "Single Logout",
"samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect": "HTTP Redirect", "samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect": "HTTP Redirect",
"samlIDPSSODescriptorSingleLogoutServiceHTTPPost": "HTTP POST", "samlIDPSSODescriptorSingleLogoutServiceHTTPPost": "HTTP POST",
......
...@@ -759,7 +759,6 @@ ...@@ -759,7 +759,6 @@
"samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect": "Redirection HTTP", "samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect": "Redirection HTTP",
"samlIDPSSODescriptorSingleSignOnServiceHTTPPost": "POST HTTP", "samlIDPSSODescriptorSingleSignOnServiceHTTPPost": "POST HTTP",
"samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact": "HTTP Artifact", "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact": "HTTP Artifact",
"samlIDPSSODescriptorSingleSignOnServiceSOAP": "SOAP",
"samlIDPSSODescriptorSingleLogoutService": "Single Logout", "samlIDPSSODescriptorSingleLogoutService": "Single Logout",
"samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect": "Redirection HTTP", "samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect": "Redirection HTTP",
"samlIDPSSODescriptorSingleLogoutServiceHTTPPost": "POST HTTP", "samlIDPSSODescriptorSingleLogoutServiceHTTPPost": "POST HTTP",
......
...@@ -1823,11 +1823,6 @@ ...@@ -1823,11 +1823,6 @@
"id": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", "id": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact",
"title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", "title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact",
"type": "samlService" "type": "samlService"
}, {
"default": "urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleSignOnSOAP;",
"id": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"title": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"type": "samlService"
}], }],
"id": "samlIDPSSODescriptorSingleSignOnService", "id": "samlIDPSSODescriptorSingleSignOnService",
"title": "samlIDPSSODescriptorSingleSignOnService" "title": "samlIDPSSODescriptorSingleSignOnService"
......
...@@ -2257,12 +2257,6 @@ ...@@ -2257,12 +2257,6 @@
"title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", "title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact",
"type": "samlService", "type": "samlService",
"data": ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact", "#PORTAL#/saml/singleSignOnArtifact", ""] "data": ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact", "#PORTAL#/saml/singleSignOnArtifact", ""]
}, {
"default": "urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleSignOnSOAP;",
"id": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"title": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"type": "samlService",
"data": ["urn:oasis:names:tc:SAML:2.0:bindings:SOAP", "#PORTAL#/saml/singleSignOnSOAP", ""]
}] }]
}, { }, {
"id": "samlIDPSSODescriptorSingleLogoutService", "id": "samlIDPSSODescriptorSingleLogoutService",
......
...@@ -2344,12 +2344,6 @@ ...@@ -2344,12 +2344,6 @@
"title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", "title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact",
"type": "samlService", "type": "samlService",
"data": ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact", "#PORTAL#/saml/singleSignOnArtifact", ""] "data": ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact", "#PORTAL#/saml/singleSignOnArtifact", ""]
}, {
"default": "urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleSignOnSOAP;",
"id": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"title": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"type": "samlService",
"data": ["urn:oasis:names:tc:SAML:2.0:bindings:SOAP", "#PORTAL#/saml/singleSignOnSOAP", ""]
}] }]
}, { }, {
"id": "samlIDPSSODescriptorSingleLogoutService", "id": "samlIDPSSODescriptorSingleLogoutService",
......
...@@ -2257,12 +2257,6 @@ ...@@ -2257,12 +2257,6 @@
"title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", "title": "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact",
"type": "samlService", "type": "samlService",
"data": ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact", "#PORTAL#/saml/singleSignOnArtifact", ""] "data": ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact", "#PORTAL#/saml/singleSignOnArtifact", ""]
}, {
"default": "urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleSignOnSOAP;",
"id": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"title": "samlIDPSSODescriptorSingleSignOnServiceSOAP",
"type": "samlService",
"data": ["urn:oasis:names:tc:SAML:2.0:bindings:SOAP", "#PORTAL#/saml/singleSignOnSOAP", ""]
}] }]
}, { }, {
"id": "samlIDPSSODescriptorSingleLogoutService", "id": "samlIDPSSODescriptorSingleLogoutService",
......
...@@ -27,10 +27,6 @@ sub init { ...@@ -27,10 +27,6 @@ sub init {
my ($self) = @_; my ($self) = @_;
# Prepare SSO URL catching # Prepare SSO URL catching
my $saml_sso_soap_url =
$self->getMetaDataURL( "samlIDPSSODescriptorSingleSignOnServiceSOAP", 1 );
my $saml_sso_soap_url_ret =
$self->getMetaDataURL( "samlIDPSSODescriptorSingleSignOnServiceSOAP", 2 );
my $saml_sso_get_url = $self->getMetaDataURL( my $saml_sso_get_url = $self->getMetaDataURL(
"samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect", 1 ); "samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect", 1 );
my $saml_sso_get_url_ret = $self->getMetaDataURL( my $saml_sso_get_url_ret = $self->getMetaDataURL(
...@@ -46,7 +42,7 @@ sub init { ...@@ -46,7 +42,7 @@ sub init {
my $saml_sso_art_url_ret = $self->getMetaDataURL( my $saml_sso_art_url_ret = $self->getMetaDataURL(
"samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", 2 ); "samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact", 2 );
$self->ssoUrlRe( $self->ssoUrlRe(
qr/^($saml_sso_soap_url|$saml_sso_soap_url_ret|$saml_sso_get_url|$saml_sso_get_url_ret|$saml_sso_post_url|$saml_sso_post_url_ret|$saml_sso_art_url|$saml_sso_art_url_ret)(?:\?.*)?$/i qr/^($saml_sso_get_url|$saml_sso_get_url_ret|$saml_sso_post_url|$saml_sso_post_url_ret|$saml_sso_art_url|$saml_sso_art_url_ret)(?:\?.*)?$/i
); );
# Launch parents initialization subroutines, then launch IdP en SP lists # Launch parents initialization subroutines, then launch IdP en SP lists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment