Skip to content
Snippets Groups Projects
Commit b058cf6b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

change the saml2 artifact endpoint url

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1738 44740490-163a-0410-bde0-09ae8108e29a
parent 5ee2e408
No related branches found
No related tags found
No related merge requests found
......@@ -16,26 +16,23 @@ if (!($source instanceof sspmod_saml_Auth_Source_SP)) {
}
$entityId = $source->getEntityId();
$metaArray11 = array(
'AssertionConsumerService' => SimpleSAML_Module::getModuleURL('saml/sp/saml1-acs.php'),
);
$spconfig = $source->getMetadata();
if ($spconfig->getBoolean('saml11.binding.artifact.enable', FALSE)) {
$metaArray11['AssertionConsumerService.artifact'] = SimpleSAML_Module::getModuleURL('saml/sp/saml1-acs.php/artifact');
}
$metaArray20 = array(
'AssertionConsumerService' => SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php'),
'SingleLogoutService' => SimpleSAML_Module::getModuleURL('saml/sp/saml2-logout.php/' . $sourceId),
);
if ($spconfig->getBoolean('saml20.binding.artifact.enable', FALSE)) {
$metaArray20['AssertionConsumerService.artifact'] = SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php/artifact');
$metaArray20['AssertionConsumerService.artifact'] = SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment