-
renater.salaun authored
Now automatically generated by simpleSAMLphp git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@72 047e039d-479c-447e-8a29-aa6bf4a09bab
renater.salaun authoredNow automatically generated by simpleSAMLphp git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@72 047e039d-479c-447e-8a29-aa6bf4a09bab
student1.tt2 781 B
[% account_sp_entityid = account.get('sp_entityid') %]
[% account_id = account.get('id') %]
[% SET account_profile = {
'type' => 'Student',
'comment' => 'An active student has both "member" and "student" values set for eduPersonAffiliation.',
'uid' => "${account_id}",
'eduPersonAffiliation' => ['member', 'student'],
'eduPersonScopedAffiliation' => ["member@${conf.idp_scope}","student@${conf.idp_scope}"],
'displayName' => 'Ciarán MacCárthaigh',
'cn' => 'Ciarán MacCárthaigh',
'mail' => "ciaran.maccarthaigh@${conf.idp_scope}",
'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
'schacHomeOrganization' => "${conf.idp_scope}",
'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',
} %]