1
1
__author__ = 'rolandh'
2
2
3
-
4
- NAME = ["givenName", "displayName", "sn"]
3
+ NAME = ["givenName", "displayName", "sn", "cn"]
5
4
STATIC_ORG_INFO = ["c", "o", "co", "norEduOrgAcronym", "schacHomeOrganization",
6
5
'schacHomeOrganizationType']
7
- OTHER = ["eduPersonPrincipalName", "eduPersonScopedAffiliation", "mail"]
6
+ OTHER = ["eduPersonPrincipalName", "eduPersonScopedAffiliation", "mail",
7
+ "eduPersonAssurance"]
8
+
9
+ R_AND_S = ['eduPersonTargetedID',
10
+ 'eduPersonPrincipalName',
11
+ 'mail',
12
+ 'displayName',
13
+ 'givenName',
14
+ 'sn',
15
+ 'eduPersonScopedAffiliation'
16
+ ]
8
17
9
18
# These give you access to information
10
19
RESEARCH_AND_EDUCATION = "http://www.swamid.se/category/research-and-education"
11
20
SFS_1993_1153 = "http://www.swamid.se/category/sfs-1993-1153"
21
+ RESEARCH_AND_SCHOLARSHIP = "http://refeds.org/category/research-and-scholarship"
12
22
13
23
# presently these don't by themself
14
24
EU = "http://www.swamid.se/category/eu-adequate-protection"
17
27
18
28
RELEASE = {
19
29
"": ["eduPersonTargetedID"],
20
- SFS_1993_1153: ["norEduPersonNIN"],
30
+ SFS_1993_1153: ["norEduPersonNIN", "eduPersonAssurance" ],
21
31
(RESEARCH_AND_EDUCATION, EU): NAME + STATIC_ORG_INFO + OTHER,
22
32
(RESEARCH_AND_EDUCATION, NREN): NAME + STATIC_ORG_INFO + OTHER,
23
33
(RESEARCH_AND_EDUCATION, HEI): NAME + STATIC_ORG_INFO + OTHER,
34
+ RESEARCH_AND_SCHOLARSHIP: R_AND_S,
24
35
}
0 commit comments