summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Metadata/SAMLParser.php
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2009-11-05 11:46:04 +0000
committerOlav Morken <olav.morken@uninett.no>2009-11-05 11:46:04 +0000
commitb20fb169bbf59318c0f562d41762d4a305e3af50 (patch)
treef25552902b6596e2c3ba4b53e6731ec0d0b71c50 /lib/SimpleSAML/Metadata/SAMLParser.php
parent35867f76032108fdf69c6b6fed1e7c63007ac8da (diff)
downloadsimplesamlphp-b20fb169bbf59318c0f562d41762d4a305e3af50.zip
simplesamlphp-b20fb169bbf59318c0f562d41762d4a305e3af50.tar.gz
simplesamlphp-b20fb169bbf59318c0f562d41762d4a305e3af50.tar.bz2
SAMLParser: Set entityid on parsed AttributeAuthorityDescriptor elements.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1967 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/Metadata/SAMLParser.php')
-rw-r--r--lib/SimpleSAML/Metadata/SAMLParser.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index 85e43d4..ac1fc01 100644
--- a/lib/SimpleSAML/Metadata/SAMLParser.php
+++ b/lib/SimpleSAML/Metadata/SAMLParser.php
@@ -904,6 +904,7 @@ class SimpleSAML_Metadata_SAMLParser {
assert('is_null($expireTime) || is_int($expireTime)');
$aad = self::parseRoleDescriptorType($element, $expireTime);
+ $aad['entityid'] = $this->entityId;
$aad['metadata-set'] = 'attributeauthority-remote';
$extensions = SimpleSAML_Utilities::getDOMChildren($element, 'Extensions', '@md');