From 73c88cd87f2f1c93511908219862582b344d2904 Mon Sep 17 00:00:00 2001 From: Alan Lewis <alan.lewis@geant.org> Date: Tue, 29 Jun 2021 15:20:39 +0000 Subject: [PATCH] Changed account names to be 'people names' and made consistent, added new custom type with additional attributes --- config/logins.json | 188 +++++++++++++++++++++++++-------------------- 1 file changed, 104 insertions(+), 84 deletions(-) diff --git a/config/logins.json b/config/logins.json index 4101c35..46d3e38 100644 --- a/config/logins.json +++ b/config/logins.json @@ -2,85 +2,103 @@ "account1" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided in the 'displayname' attribute", - "display": "Account One (R&S)", - "eduPersonPrincipalName" : "account1@idp.example.org", - "displayName" : "Account One", - "mail" : "account1@idp.example.org" + "display": "John D. Rockefeller", + "eduPersonPrincipalName" : "jrockefeller@idp.example.org", + "displayName" : "John D. Rockefeller", + "mail" : "John.D.Rockefeller@idp.example.org" }, "account2" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided in both a 'displayname' attribute as well as seperate 'surname' and 'givenname' attributes", - "display": "Account Two (R&S)", - "eduPersonPrincipalName" : "account2@idp.example.org", - "displayName" : "Account Two", - "givenName" : "Account", - "sn" : "Two", - "mail" : "account2@idp.example.org" + "display": "Georg Ohm", + "eduPersonPrincipalName" : "g_ohm@idp.example.org", + "displayName" : "Georg Ohm", + "givenName" : "Georg", + "sn" : "Ohm", + "mail" : "georg.ohm@idp.example.org" }, "account3" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided as seperate 'surname' and 'givenname' attributes. In addition the users affiliations are provided in the 'eduPersonScopedAffiliation' attribute", - "display": "Account Three (R&S)", - "eduPersonPrincipalName" : "account3@idp.example.org", - "givenName" : "Account", - "sn" : "Three", - "mail" : "account3@idp.example.org", + "display": "Joseph Weeler", + "eduPersonPrincipalName" : "jweeler@idp.example.org", + "givenName" : "Joseph", + "sn" : "Weeler", + "mail" : "joseph.weeler@idp.example.org", "eduPersonScopedAffiliation" : ["member@idp.example.org", "student@idp.example.org"] }, "account4" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided as seperate 'surname' and 'givenname' attributes. Please note the usage of both 'eduPersonPrincipalName' as well as 'eduPersonTargetedID' which suggest the 'eduPersonPrincipalName' may not be a stable identifier, but may be reassigned at some point", - "display": "Account Four (R&S)", - "eduPersonPrincipalName" : "account4@idp.example.org", + "display": "Anthony West", + "eduPersonPrincipalName" : "awest@idp.example.org", "eduPersonTargetedID" : "bd09168cf0c2e675b2def0ade6f50b7d4bb4aae", - "givenName" : "Account4", - "sn" : "Four", - "mail" : "account4@idp.example.org", + "givenName" : "Anthony", + "sn" : "West", + "mail" : "anthony.west@idp.example.org", "eduPersonScopedAffiliation" : ["member@idp.example.org", "employee@idp.example.org", "faculty@idp.example.org"] }, "account5" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided in the displayname attribute. Please note the usage of both 'eduPersonPrincipalName' as well as 'eduPersonTargetedID' which suggest the 'eduPersonPrincipalName' may not be a stable identifier, but may be reassigned at some point", - "display": "Account Five (R&S)", - "eduPersonPrincipalName" : "account5@idp.example.org", - "eduPersonTargetedId" : "account5@idp.example.org", - "displayName" : "Account Five", - "mail" : "account5@idp.example.org" + "display": "Ben Bernanke", + "eduPersonPrincipalName" : "bbernanke@idp.example.org", + "eduPersonTargetedId" : "bbernanke@idp.example.org", + "displayName" : "Ben Bernanke", + "mail" : "bbernanke@idp.example.org" }, "account6" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided as seperate 'surname' and 'givenname' attributes. Please note the usage of both 'eduPersonPrincipalName' as well as 'eduPersonTargetedID' which suggest the 'eduPersonPrincipalName' may not be a stable identifier, but may be reassigned at some point", - "display": "Account Six (R&S)", - "eduPersonPrincipalName" : "account6@idp.example.org", - "eduPersonTargetedId" : "account6@idp.example.org", - "givenName" : "Account6", - "sn" : "Six", - "mail" : "account6@idp.example.org" + "display": "Alan Greenspan", + "eduPersonPrincipalName" : "agreenspan@idp.example.org", + "eduPersonTargetedId" : "agreenspan@idp.example.org", + "givenName" : "Alan", + "sn" : "Greenspan", + "mail" : "agreenspan6@idp.example.org" }, "account7" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided in the displayname attribute. Please note the usage of both 'eduPersonPrincipalName' as well as 'eduPersonTargetedID' which suggest the 'eduPersonPrincipalName' may not be a stable identifier, but may be reassigned at some point. In addition the users affiliations are provided in the 'eduPersonScopedAffiliation' attribute", - "display": "Account Seven (R&S)", - "eduPersonPrincipalName" : "account7@idp.example.org", - "eduPersonTargetedId" : "account7@idp.example.org", - "displayName" : "Account Seven", - "mail" : "account7@idp.example.org", + "display": "André-Marie Ampère", + "eduPersonPrincipalName" : "am_ampere@idp.example.org", + "eduPersonTargetedId" : "am_ampere@idp.example.org", + "displayName" : "André-Marie Ampère", + "mail" : "am_ampere@idp.example.org", "eduPersonScopedAffiliation" : ["employee@idp.example.org", "staff@idp.example.org", "member@idp.example.org", "student@idp.example.org"] }, "account8" : { "type" : "Research and Scholarship", "explanation": "This profile provides a R&S compatible attribute bundle with the name of the user name being provided as seperate 'surname' and 'givenname' attributes.Please note the usage of both 'eduPersonPrincipalName' as well as 'eduPersonTargetedID' which suggest the 'eduPersonPrincipalName' may not be a stable identifier, but may be reassigned at some point. In addition the users affiliations are provided in the 'eduPersonScopedAffiliation' attribute", - "display": "Account Eight (R&S)", - "eduPersonPrincipalName" : "account8@idp.example.org", - "eduPersonTargetedId" : "account8@idp.example.org", - "givenName" : "Account8", - "sn" : "Eight", - "mail" : "account8@idp.example.org", + "display": "Wilhelm Röntgen", + "eduPersonPrincipalName" : "w_rontgen@idp.example.org", + "eduPersonTargetedId" : "w_rontgen@idp.example.org", + "givenName" : "Wilhelm", + "sn" : "Röntgen", + "mail" : "w_rontgen@idp.example.org", "eduPersonScopedAffiliation" : ["employee@idp.example.org", "staff@idp.example.org", "member@idp.example.org", "student@idp.example.org"] }, - "account9" : { + "account9" : { + "type": "Custom attributes", + "explanation": "More expansive attribute list", + "display": "Joseph Stiglitz", + "uid" : ["jstiglitz"], + "schacHomeOrganization" : "harvard-example.edu", + "eduPersonPrincipalName" : "stiglitz@harvard-example.edu", + "cn" : "Joseph Eugene Stiglitz", + "givenName" : "Joseph", + "sn" : "Stiglitz", + "displayName" : "Joseph Stiglitz", + "mail" : "stiglitz@harvard-example.edu", + "homePhone" : "+1 827 675 3232", + "eduPersonOrcid" : "http://orcid.org/0000-1111-2222-3333", + "eduPersonAffiliation" : ["member", "student"], + "eduPersonScopedAffiliation" : ["employee@harvard-example.edu", "faculty@harvard-example.edu", "member@harvard-example.edu"], + "isMemberOf" : "urn:collab:org:aarc-project.eu" + }, + "account10" : { "type": "Behaviour tests", - "explanation": "Test - multi-valued mail attribute", + "explanation": "Test - multi-valued mail attribute.", "display": "Jordan R. Belfort", "uid" : ["belfort"], "schacHomeOrganization" : "harvard-example.edu", @@ -95,9 +113,9 @@ "eduPersonEntitlement" : "urn:mace:dir:entitlement:common-lib-terms-example", "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account10" : { + "account11" : { "type": "Behaviour tests", - "explanation": "Test - No member affiliation ind eduPersonAffiliation", + "explanation": "Test - No member affiliation ind eduPersonAffiliation.", "display": "Steve Wynn", "uid" : ["wynn"], "schacHomeOrganization" : "harvard-example.edu", @@ -112,7 +130,7 @@ "eduPersonEntitlement" : "urn:mace:dir:entitlement:common-lib-terms-example", "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account11" : { + "account12" : { "type": "Behaviour tests", "explanation": "Test - Incorrect domain scope for Home organisation", "display": "Isaac Newton", @@ -128,7 +146,7 @@ "eduPersonEntitlement" : "urn:mace:dir:entitlement:common-lib-terms-example", "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account12" : { + "account13" : { "type": "Behaviour tests", "explanation": "Test - Invalid email address, note that ePPN is NOT an email adress, so having multiple @ signs is allowed", "display": "Oscar Burton", @@ -145,72 +163,72 @@ "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account13" : { + "account14" : { "type": "Behaviour tests", "explanation": "Test - Invalid ePPN", - "display": "Oscar Burton", - "uid" : ["oburton"], + "display": "Nikola Tesla", + "uid" : ["n_tesla"], "schacHomeOrganization" : "university-example.org", - "eduPersonPrincipalName" : "oburton@university-example.edu", - "cn" : "Oscar Burton", - "givenName" : "Oscar", - "sn" : "Burton", - "displayName" : "Oscar Burton", - "mail" : "OscarBurton@university-example.org", + "eduPersonPrincipalName" : "n_tesla@university-example.edu", + "cn" : "Nikola Tesla", + "givenName" : "Nikola", + "sn" : "Tesla", + "displayName" : "Nikola Tesla", + "mail" : "n_tesla@university-example.org", "eduPersonAffiliation" : ["employee", "member", "staff"], "eduPersonScopedAffiliation" : ["employee@huniversity-example.org", "staff@university-example.org", "member@university-example.org"], "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account14" : { + "account15" : { "type": "Behaviour tests", "explanation": "Test - Member only", - "display": "Student One", - "uid" : ["student1"], + "display": "Steve Jobs", + "uid" : ["s_jobs"], "schacHomeOrganization" : "idp.example.org", "eduPersonPrincipalName" : "student1@idp.example.org", - "cn" : "Student One", - "givenName" : "Student", - "sn" : "One", - "displayName" : "Student One", - "mail" : "student1@idp.example.org", + "cn" : "Steven Paul Jobs", + "givenName" : "Steve", + "sn" : "Jobs", + "displayName" : "Steve Jobs", + "mail" : "steve.jobs@idp.example.org", "eduPersonAffiliation" : ["member"], "eduPersonScopedAffiliation" : ["member@idp.example.org"], "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account15" : { + "account16" : { "type": "Behaviour tests", "explanation": "Test - Non human-friendly ePPN", - "display": "Student Two", + "display": "Bill Gates", "uid" : ["FyHah7$J"], "schacHomeOrganization" : "idp.example.org", "eduPersonPrincipalName" : "FyHah7$J@idp.example.org", - "cn" : "Student Two", - "givenName" : "Student", - "sn" : "Two", - "displayName" : "Student Two", - "mail" : "s1869831907@example.org", + "cn" : "William Henry Gates III", + "givenName" : "Bill", + "sn" : "Gates", + "displayName" : "Bill Gates", + "mail" : "bill.gates@example.org", "eduPersonAffiliation" : ["student", "member"], "eduPersonScopedAffiliation" : ["member@idp.example.org", "student@idp.example.org"], "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account16" : { + "account17" : { "type": "Behaviour tests", "explanation": "Test - Blank attribute values", - "display": "Student Three", - "uid" : ["student3"], + "display": "Michael Faraday", + "uid" : ["m_faraday"], "schacHomeOrganization" : "idp.example.org", - "eduPersonPrincipalName" : "student3@idp.example.org", + "eduPersonPrincipalName" : "m_faraday@idp.example.org", "cn" : "", "givenName" : "", - "sn" : "Three", - "displayName" : "Student Three", - "mail" : "student3@idp.example.org", + "sn" : "Faraday", + "displayName" : "Michael Faraday", + "mail" : "m_faraday@idp.example.org", "eduPersonAffiliation" : ["member", "student"], "eduPersonScopedAffiliation" : ["member@idp.example.org", "student@idp.example.org"], "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account17" : { + "account18" : { "type": "Behaviour tests", "explanation": "Test - Inconsistant user name", "display": "Godfried Viggo", @@ -226,7 +244,7 @@ "eduPersonScopedAffiliation" : ["student@unidenmark-example.dk"], "isMemberOf" : "urn:collab:org:aarc-project.eu" }, - "account18" : { + "account19" : { "type": "Behaviour tests", "explanation": "Test - non-ASCII UTF-8 common name ", "display": "Daisuke Takahashi", @@ -243,13 +261,13 @@ "isMemberOf" : ["urn:collab:org:exchange-university.org", "urn:collab:org:home-university.org"] }, - "account19" : { + "account20" : { "type": "Behaviour tests", "explanation": "Test - Diacritical marks", "display": "Martin N. Jørgensen", - "uid" : ["student14"], + "uid" : ["jorgensen"], "schacHomeOrganization" : "stockholmuni-example.se", - "eduPersonPrincipalName" : "student14@stockholmuni-example.se", + "eduPersonPrincipalName" : "jorgensen@stockholmuni-example.se", "cn" : "Martin Nikolaus Jørgensen", "givenName" : "Martin", "sn" : "Jørgensen", @@ -259,6 +277,8 @@ "eduPersonScopedAffiliation" : ["member@stockholmuni-example.se", "student@stockholmuni-example.se"], "isMemberOf" : "urn:collab:org:sunet-example.se" } + + } -- GitLab