From 3539253a689c4868d633e0a455720b2d48d77490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Sun, 11 Jan 2009 11:29:54 +0000 Subject: [PATCH] Adding languageadaptor til config template git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1129 44740490-163a-0410-bde0-09ae8108e29a --- config-templates/config.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config-templates/config.php b/config-templates/config.php index c1cecffc5..e3853f556 100644 --- a/config-templates/config.php +++ b/config-templates/config.php @@ -194,7 +194,7 @@ $config = array ( // Disco service only accepts entities it knows. 'idpdisco.validate' => TRUE, - 'idpdisco.extDiscoveryStorage' => NULL, //'http://rnd.feide.no', + 'idpdisco.extDiscoveryStorage' => NULL, /* * IdP Discovery service look configuration. @@ -235,6 +235,9 @@ $config = array ( 20 => 'core:TargetedID', */ + // Adopts language from attribute to use in UI + 30 => 'core:LanguageAdaptor', + /* Add a realm attribute from edupersonprincipalname 40 => 'core:AttributeRealm', */ @@ -253,6 +256,8 @@ $config = array ( 'focus' => 'yes', 'checked' => TRUE ), + // If language is set in Consent module it will be added as an attribute. + 99 => 'core:LanguageAdaptor', ), /* * Authentication processing filters that will be executed for all IdPs @@ -276,6 +281,10 @@ $config = array ( 60 => array('class' => 'core:GenerateGroups', 'eduPersonAffiliation'), // All users will be members of 'users' and 'members' 61 => array('class' => 'core:AttributeAdd', 'groups' => array('users', 'members')), + + // Adopts language from attribute to use in UI + 90 => 'core:LanguageAdaptor', + ), -- GitLab