Revision: 1953
Author: olavmrk
Date: Wed Nov  4 05:53:47 2009
Log: metaedit: Handle the new metadata format.
http://code.google.com/p/simplesamlphp/source/detail?r=1953

Modified:
  /trunk/modules/metaedit/www/edit.php

=======================================
--- /trunk/modules/metaedit/www/edit.php        Thu May 21 11:56:08 2009
+++ /trunk/modules/metaedit/www/edit.php        Wed Nov  4 05:53:47 2009
@@ -39,6 +39,10 @@
        $entity = array_pop($entities);
        $metadata =  $entity->getMetadata20SP();

+       /* Trim metadata endpoint arrays. */
+       $metadata['AssertionConsumerService'] =  
SimpleSAML_Utilities::getDefaultEndpoint($metadata['AssertionConsumerService'], 
 
array(SAML2_Const::BINDING_HTTP_POST));
+       $metadata['SingleLoogutService'] =  
SimpleSAML_Utilities::getDefaultEndpoint($metadata['SingleLogoutService'],  
array(SAML2_Const::BINDING_HTTP_REDIRECT));
+
  } else {
        $metadata = array(
                'owner' => $userid,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to