Skip to content
Snippets Groups Projects
Commit aeadb266 authored by Olav Morken's avatar Olav Morken
Browse files

metaedit: Fix endpoints parsed from XML.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2360 44740490-163a-0410-bde0-09ae8108e29a
parent 1676f3d2
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,8 @@ if (array_key_exists('entityid', $_REQUEST)) {
$metadata = $entity->getMetadata20SP();
/* Trim metadata endpoint arrays. */
$metadata['AssertionConsumerService'] = SimpleSAML_Utilities::getDefaultEndpoint($metadata['AssertionConsumerService'], array(SAML2_Const::BINDING_HTTP_POST));
$metadata['SingleLogoutService'] = SimpleSAML_Utilities::getDefaultEndpoint($metadata['SingleLogoutService'], array(SAML2_Const::BINDING_HTTP_REDIRECT));
$metadata['AssertionConsumerService'] = array(SimpleSAML_Utilities::getDefaultEndpoint($metadata['AssertionConsumerService'], array(SAML2_Const::BINDING_HTTP_POST)));
$metadata['SingleLogoutService'] = array(SimpleSAML_Utilities::getDefaultEndpoint($metadata['SingleLogoutService'], array(SAML2_Const::BINDING_HTTP_REDIRECT)));
#echo '<pre>'; print_r($metadata); exit;
......
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