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

Adding languageadaptor til config template

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1129 44740490-163a-0410-bde0-09ae8108e29a
parent 5b330297
No related branches found
No related tags found
No related merge requests found
...@@ -194,7 +194,7 @@ $config = array ( ...@@ -194,7 +194,7 @@ $config = array (
// Disco service only accepts entities it knows. // Disco service only accepts entities it knows.
'idpdisco.validate' => TRUE, 'idpdisco.validate' => TRUE,
'idpdisco.extDiscoveryStorage' => NULL, //'http://rnd.feide.no', 'idpdisco.extDiscoveryStorage' => NULL,
/* /*
* IdP Discovery service look configuration. * IdP Discovery service look configuration.
...@@ -235,6 +235,9 @@ $config = array ( ...@@ -235,6 +235,9 @@ $config = array (
20 => 'core:TargetedID', 20 => 'core:TargetedID',
*/ */
// Adopts language from attribute to use in UI
30 => 'core:LanguageAdaptor',
/* Add a realm attribute from edupersonprincipalname /* Add a realm attribute from edupersonprincipalname
40 => 'core:AttributeRealm', 40 => 'core:AttributeRealm',
*/ */
...@@ -253,6 +256,8 @@ $config = array ( ...@@ -253,6 +256,8 @@ $config = array (
'focus' => 'yes', 'focus' => 'yes',
'checked' => TRUE '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 * Authentication processing filters that will be executed for all IdPs
...@@ -276,6 +281,10 @@ $config = array ( ...@@ -276,6 +281,10 @@ $config = array (
60 => array('class' => 'core:GenerateGroups', 'eduPersonAffiliation'), 60 => array('class' => 'core:GenerateGroups', 'eduPersonAffiliation'),
// All users will be members of 'users' and 'members' // All users will be members of 'users' and 'members'
61 => array('class' => 'core:AttributeAdd', 'groups' => array('users', 'members')), 61 => array('class' => 'core:AttributeAdd', 'groups' => array('users', 'members')),
// Adopts language from attribute to use in UI
90 => 'core:LanguageAdaptor',
), ),
......
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