From 471e1e26b8d92958fa8fd185f2d1e8165e0f8d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Mon, 15 Oct 2007 15:41:07 +0000 Subject: [PATCH] Updated doc. Fixed bug with retrieving autommatically generated assertionconsumerurl in authnrequest (shib) git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@28 44740490-163a-0410-bde0-09ae8108e29a --- docs/source/simplesamlphp-install.xml | 11 ++++++----- lib/SimpleSAML/XML/Shib13/AuthnRequest.php | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/source/simplesamlphp-install.xml b/docs/source/simplesamlphp-install.xml index 773d02faa..855b53787 100644 --- a/docs/source/simplesamlphp-install.xml +++ b/docs/source/simplesamlphp-install.xml @@ -7,7 +7,7 @@ <articleinfo> <date>2007-08-30</date> - <pubdate>Mon Oct 15 16:54:59 2007</pubdate> + <pubdate>Fri Sep 14 10:49:49 2007</pubdate> <author> <firstname>Andreas Ă…kre</firstname> @@ -66,11 +66,11 @@ <section> <title>Version 0.5</title> - <para>Released . Revision X.</para> + <para>Released 2007-10-15. Revision 28.</para> <warning> - <para>Both config.php and metadata format is changed. Look at the - templates to understand the new format.</para> + <para>Both <filename>config.php</filename> and metadata format is + changed. Look at the templates to understand the new format.</para> </warning> <itemizedlist> @@ -94,7 +94,8 @@ </listitem> <listitem> - <para>Added support for Shibboleth 1.3 IdP functionality.</para> + <para>Added support for Shibboleth 1.3 IdP functionality (beta, + contact me if any problems)</para> </listitem> <listitem> diff --git a/lib/SimpleSAML/XML/Shib13/AuthnRequest.php b/lib/SimpleSAML/XML/Shib13/AuthnRequest.php index 6d12ae978..5265cf0cb 100644 --- a/lib/SimpleSAML/XML/Shib13/AuthnRequest.php +++ b/lib/SimpleSAML/XML/Shib13/AuthnRequest.php @@ -97,7 +97,7 @@ class SimpleSAML_XML_Shib13_AuthnRequest { $spmetadata = $this->metadata->getMetaData($this->getIssuer(), 'shib13-sp-hosted'); $desturl = $idpmetadata['SingleSignOnUrl']; - $shire = $spmetadata['AssertionConsumerService']; + $shire = $this->metadata->getGenerated('AssertionConsumerService', 'shib13-sp-hosted'); $target = $this->getRelayState(); $url = $desturl . '?' . -- GitLab