Skip to content
Snippets Groups Projects
Commit ba97c652 authored by renater.salaun's avatar renater.salaun
Browse files

[Requested by L.Haemmerle] Added a new 'fullset1' user profile with additional...

[Requested by L.Haemmerle] Added a new 'fullset1' user profile with additional attributes sn and givenName

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@122 047e039d-479c-447e-8a29-aa6bf4a09bab
parent c5759669
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ our %global = ( ...@@ -81,7 +81,7 @@ our %global = (
'federation_metadata_file_path' => '/opt/testidp/IdPAccountManager/conf/edugain-md.xml', 'federation_metadata_file_path' => '/opt/testidp/IdPAccountManager/conf/edugain-md.xml',
## valid account profiles ## valid account profiles
'account_profiles' => ['limitedset1','generic1','student1','student2','teacher1','teacher2','alumni1','librarywalkin1','employee1','researcher1'], 'account_profiles' => ['fullset1','limitedset1','generic1','student1','student2','teacher1','teacher2','alumni1','librarywalkin1','employee1','researcher1'],
); );
1; # Magic true value required at end of module 1; # Magic true value required at end of module
......
[% account_sp_entityid = account.get('sp_entityid') %]
[% account_id = account.get('id') %]
[% SET account_profile = {
'type' => 'FullSet',
'comment' => "This user profile respresents a researcher with all eduGAIN user attributes plus givenName and surname.",
'internal_uid' => "user${account_id}",
'eduPersonAffiliation' => ['member', 'faculty'],
'eduPersonScopedAffiliation' => ["member@${conf.idp_scope}", "faculty@${conf.idp_scope}"],
'displayName' => 'Gundabald Lightfoot - eduGAIN Access Check account',
'cn' => 'Gundabald Lightfoot - eduGAIN Access Check account',
'givenName' => 'Gundabald',
'sn' => 'Lightfoot - eduGAIN Access Check account',
'mail' => "gundabald.lightfoot@${conf.idp_scope}",
'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
'schacHomeOrganization' => "${conf.idp_scope}",
'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',
} %]
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