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

SAML2:AuthnResponse - Changed getInResponseTo() to use class constant...

SAML2:AuthnResponse - Changed getInResponseTo() to use class constant SAML2_PROTOCOL_NS instead of string.


git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@121 44740490-163a-0410-bde0-09ae8108e29a
parent 9805080b
No related branches found
No related tags found
No related merge requests found
...@@ -356,7 +356,7 @@ class SimpleSAML_XML_SAML20_AuthnResponse extends SimpleSAML_XML_AuthnResponse { ...@@ -356,7 +356,7 @@ class SimpleSAML_XML_SAML20_AuthnResponse extends SimpleSAML_XML_AuthnResponse {
assert('$dom instanceof DOMDocument'); assert('$dom instanceof DOMDocument');
$xPath = new DOMXpath($dom); $xPath = new DOMXpath($dom);
$xPath->registerNamespace('samlp', 'urn:oasis:names:tc:SAML:2.0:protocol'); $xPath->registerNamespace('samlp', self::SAML2_PROTOCOL_NS);
$result = $xPath->query('/samlp:Response/@InResponseTo'); $result = $xPath->query('/samlp:Response/@InResponseTo');
if($result->length === 0) { if($result->length === 0) {
......
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