Skip to content
Snippets Groups Projects
Commit 04493e6e authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Adding per idp attribute map at idp

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@294 44740490-163a-0410-bde0-09ae8108e29a
parent 34efaff1
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,9 @@ if (!isset($session) || !$session->isValid($authority) ) {
*/
$ar = new SimpleSAML_XML_SAML20_AuthnResponse($config, $metadata);
$afilter = new SimpleSAML_XML_AttributeFilter($config, $session->getAttributes());
if (isset($idpmetadata['attributemap'])) {
$afilter->namemap($idpmetadata['attributemap']);
}
if (isset($spmetadata['attributemap'])) {
$afilter->namemap($spmetadata['attributemap']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment