summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Metadata/SAMLParser.php
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2009-11-04 13:52:19 +0000
committerOlav Morken <olav.morken@uninett.no>2009-11-04 13:52:19 +0000
commitd9fbd2593ef711366c2b05e0a3cc504b777f2329 (patch)
tree8d7854e65678d255345f4ca3875c9890566d75a3 /lib/SimpleSAML/Metadata/SAMLParser.php
parent69fdcc7f8da9b83dd1fdd8773669922cb551901a (diff)
downloadsimplesamlphp-d9fbd2593ef711366c2b05e0a3cc504b777f2329.zip
simplesamlphp-d9fbd2593ef711366c2b05e0a3cc504b777f2329.tar.gz
simplesamlphp-d9fbd2593ef711366c2b05e0a3cc504b777f2329.tar.bz2
Set metadata-set and entityid in metadata passed to SAMLBuilder.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1946 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/Metadata/SAMLParser.php')
-rw-r--r--lib/SimpleSAML/Metadata/SAMLParser.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index a5885b7..55e2426 100644
--- a/lib/SimpleSAML/Metadata/SAMLParser.php
+++ b/lib/SimpleSAML/Metadata/SAMLParser.php
@@ -460,6 +460,7 @@ class SimpleSAML_Metadata_SAMLParser {
public function getMetadata1xSP() {
$ret = $this->getMetadataCommon();
+ $ret['metadata-set'] = 'shib13-sp-remote';
/* Find SP information which supports one of the SAML 1.x protocols. */
@@ -528,6 +529,7 @@ class SimpleSAML_Metadata_SAMLParser {
public function getMetadata1xIdP() {
$ret = $this->getMetadataCommon();
+ $ret['metadata-set'] = 'shib13-idp-remote';
/* Find IdP information which supports the SAML 1.x protocol. */
$idp = $this->getIdPDescriptors(self::$SAML1xProtocols);
@@ -600,6 +602,7 @@ class SimpleSAML_Metadata_SAMLParser {
public function getMetadata20SP() {
$ret = $this->getMetadataCommon();
+ $ret['metadata-set'] = 'saml20-sp-remote';
/* Find SP information which supports the SAML 2.0 protocol. */
@@ -699,6 +702,7 @@ class SimpleSAML_Metadata_SAMLParser {
public function getMetadata20IdP() {
$ret = $this->getMetadataCommon();
+ $ret['metadata-set'] = 'saml20-idp-remote';
/* Find IdP information which supports the SAML 2.0 protocol. */