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

core_Auth_Process_TargetedID: Save NameID as a string.

This works around PHP not being able to serialize() DOM nodes.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1701 44740490-163a-0410-bde0-09ae8108e29a
parent 9af39efe
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ class sspmod_core_Auth_Process_TargetedID extends SimpleSAML_Auth_ProcessingFilt ...@@ -142,7 +142,7 @@ class sspmod_core_Auth_Process_TargetedID extends SimpleSAML_Auth_ProcessingFilt
$doc->appendChild($root); $doc->appendChild($root);
SAML2_Utils::addNameId($root, $nameId); SAML2_Utils::addNameId($root, $nameId);
$uid = $root->childNodes; $uid = $doc->saveXML($root->firstChild);
} }
$state['Attributes']['eduPersonTargetedID'] = array($uid); $state['Attributes']['eduPersonTargetedID'] = array($uid);
......
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