summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2015-04-02 09:54:41 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2015-04-02 09:54:41 (GMT)
commit55f1cf9827bc879799189987be5b9dc2fb760ef0 (patch)
tree8ff4805337f5c7a4f7ad74869f7e21c0fc0993c1
parent92ae14c87291672eef268119a6290a28fe0a2e18 (diff)
downloadspip-saml-55f1cf9827bc879799189987be5b9dc2fb760ef0.zip
spip-saml-55f1cf9827bc879799189987be5b9dc2fb760ef0.tar.gz
spip-saml-55f1cf9827bc879799189987be5b9dc2fb760ef0.tar.bz2
simplesamlphp: send NameID in attributes
-rw-r--r--inc/simplesamlphp/config/config.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/inc/simplesamlphp/config/config.php b/inc/simplesamlphp/config/config.php
index b61d78a..a69c544 100644
--- a/inc/simplesamlphp/config/config.php
+++ b/inc/simplesamlphp/config/config.php
@@ -517,11 +517,12 @@ $config = array(
* Both Shibboleth and SAML 2.0
*/
'authproc.sp' => array(
- /*
10 => array(
- 'class' => 'core:AttributeMap', 'removeurnprefix'
+ 'class' => 'saml:NameIDAttribute',
+ 'format' => '%V',
+ 'attribute' => 'NameID',
+
),
- */
/*
* Generate the 'group' attribute populated from other variables, including eduPersonAffiliation.