Revision: 1906
Author: olavmrk
Date: Mon Oct 26 07:54:26 2009
Log: lib/SAML2: Fix up changed namespace prefix on NameID element.

Merged into 1.5 branch from r1897.
http://code.google.com/p/simplesamlphp/source/detail?r=1906

Modified:
  /branches/simplesamlphp-1.5/lib/SAML2/Utils.php

=======================================
--- /branches/simplesamlphp-1.5/lib/SAML2/Utils.php     Thu Oct  1 04:44:37 2009
+++ /branches/simplesamlphp-1.5/lib/SAML2/Utils.php     Mon Oct 26 07:54:26 2009
@@ -173,7 +173,7 @@
        public static function addNameId(DOMElement $node, array $nameId) {
                assert('array_key_exists("Value", $nameId)');

-               $xml =  
$node->ownerDocument->createElementNS(SAML2_Const::NS_SAML, 
'saml_assertion:NameID');
+               $xml =  
$node->ownerDocument->createElementNS(SAML2_Const::NS_SAML, 'saml:NameID');
                $node->appendChild($xml);

                if (array_key_exists('NameQualifier', $nameId) &&  
$nameId['NameQualifier'] !== NULL) {

--~--~---------~--~----~------------~-------~--~----~
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