11__author__ = 'rolandh'
22
3-
4- NAME = ["givenName" , "displayName" , "sn" ]
3+ NAME = ["givenName" , "displayName" , "sn" , "cn" ]
54STATIC_ORG_INFO = ["c" , "o" , "co" , "norEduOrgAcronym" , "schacHomeOrganization" ,
65 '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+ ]
817
918# These give you access to information
1019RESEARCH_AND_EDUCATION = "http://www.swamid.se/category/research-and-education"
1120SFS_1993_1153 = "http://www.swamid.se/category/sfs-1993-1153"
21+ RESEARCH_AND_SCHOLARSHIP = "http://refeds.org/category/research-and-scholarship"
1222
1323# presently these don't by themself
1424EU = "http://www.swamid.se/category/eu-adequate-protection"
1727
1828RELEASE = {
1929 "" : ["eduPersonTargetedID" ],
20- SFS_1993_1153 : ["norEduPersonNIN" ],
30+ SFS_1993_1153 : ["norEduPersonNIN" , "eduPersonAssurance" ],
2131 (RESEARCH_AND_EDUCATION , EU ): NAME + STATIC_ORG_INFO + OTHER ,
2232 (RESEARCH_AND_EDUCATION , NREN ): NAME + STATIC_ORG_INFO + OTHER ,
2333 (RESEARCH_AND_EDUCATION , HEI ): NAME + STATIC_ORG_INFO + OTHER ,
34+ RESEARCH_AND_SCHOLARSHIP : R_AND_S ,
2435}
0 commit comments