summaryrefslogtreecommitdiffstats
path: root/lib/SAML2/XML/md
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2011-10-18 11:02:49 +0000
committerOlav Morken <olav.morken@uninett.no>2011-10-18 11:02:49 +0000
commitdb331199ce104d10f394b04791908830edaaef7b (patch)
tree02a56c4690c1a17cca7da5c0e3fa3a73fa8fb7e5 /lib/SAML2/XML/md
parent97c4e7b6c3c86de9e6126207e8db826345e8ed11 (diff)
downloadsimplesamlphp-db331199ce104d10f394b04791908830edaaef7b.zip
simplesamlphp-db331199ce104d10f394b04791908830edaaef7b.tar.gz
simplesamlphp-db331199ce104d10f394b04791908830edaaef7b.tar.bz2
SAML2: Add mdrpi:PublicationInfo extension.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2946 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SAML2/XML/md')
-rw-r--r--lib/SAML2/XML/md/Extensions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/SAML2/XML/md/Extensions.php b/lib/SAML2/XML/md/Extensions.php
index 2f5e9ae..0db1813 100644
--- a/lib/SAML2/XML/md/Extensions.php
+++ b/lib/SAML2/XML/md/Extensions.php
@@ -22,6 +22,8 @@ class SAML2_XML_md_Extensions {
$ret[] = new SAML2_XML_shibmd_Scope($node);
} elseif ($node->namespaceURI === SAML2_XML_mdattr_EntityAttributes::NS && $node->localName === 'EntityAttributes') {
$ret[] = new SAML2_XML_mdattr_EntityAttributes($node);
+ } elseif ($node->namespaceURL === SAML2_XML_mdrpi_Common::NS_MDRPI && $node->localName === 'PublicationInfo') {
+ $ret[] = new SAML2_XML_mdrpi_PublicationInfo($node);
} else {
$ret[] = new SAML2_XML_Chunk($node);
}