From 7e746142eca9f90aae4d0c9fdb8c53de3147278c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Thu, 17 Jan 2008 18:37:39 +0000
Subject: [PATCH] Patch from Lukas Hammerle. will allow attribute mapping and
 filtering with shibboleth

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@173 44740490-163a-0410-bde0-09ae8108e29a
---
 www/shib13/idp/SSOService.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/shib13/idp/SSOService.php b/www/shib13/idp/SSOService.php
index 7b622eda3..44c3e6ce1 100644
--- a/www/shib13/idp/SSOService.php
+++ b/www/shib13/idp/SSOService.php
@@ -110,7 +110,8 @@ if (!$session->isAuthenticated() ) {
 
 		//$session->setAttribute('eduPersonAffiliation', array('student'));
 
-
+		$spentityid = $authnrequest->getIssuer();
+		$spmetadata = $metadata->getMetaData($spentityid, 'shib13-sp-remote');
 
 		/*
 		 * Filtering attributes.
-- 
GitLab