diff options
author | Olav Morken <olav.morken@uninett.no> | 2011-11-03 12:41:34 +0000 |
---|---|---|
committer | Olav Morken <olav.morken@uninett.no> | 2011-11-03 12:41:34 +0000 |
commit | 87d724a5988c31ee4f05bf0691117f96615d17bf (patch) | |
tree | ccc7bd046ec99305d2ca708d80206463e089a053 /lib/SAML2/XML/md/PDPDescriptor.php | |
parent | 65b66e7e779fef9cfd181c5c61fcf0d2d33d957d (diff) | |
download | simplesamlphp-87d724a5988c31ee4f05bf0691117f96615d17bf.zip simplesamlphp-87d724a5988c31ee4f05bf0691117f96615d17bf.tar.gz simplesamlphp-87d724a5988c31ee4f05bf0691117f96615d17bf.tar.bz2 |
SAML2_Utils: Change extractStrings to take the namespaceURI and localname instead of an XPath query.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2971 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SAML2/XML/md/PDPDescriptor.php')
-rw-r--r-- | lib/SAML2/XML/md/PDPDescriptor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SAML2/XML/md/PDPDescriptor.php b/lib/SAML2/XML/md/PDPDescriptor.php index e2765fd..677d5f6 100644 --- a/lib/SAML2/XML/md/PDPDescriptor.php +++ b/lib/SAML2/XML/md/PDPDescriptor.php @@ -61,7 +61,7 @@ class SAML2_XML_md_PDPDescriptor extends SAML2_XML_md_RoleDescriptor { $this->AssertionIDRequestService[] = new SAML2_XML_md_EndpointType($airs); } - $this->NameIDFormat = SAML2_Utils::extractStrings($xml, './saml_metadata:NameIDFormat'); + $this->NameIDFormat = SAML2_Utils::extractStrings($xml, SAML2_Const::NS_MD, 'NameIDFormat'); } |