|
32 | 32 | # https://github.com/Umbrella-Commiters/UmbrellaIdP3/blob/master/schema/99-user.ldif
|
33 | 33 | UMBRELLA_EAAUser_ID = 'urn:oid:1.3.6.1.4.1.42750.1.1.'
|
34 | 34 |
|
| 35 | +# INERA specification |
| 36 | +# Closet public spec source I could find, sadly in swedish |
| 37 | +# https://www.sambi.se/wordpress/wp-content/uploads/2017/06/Sambi_Attributspecifikation_1.1.pdf |
| 38 | +INERA_OID = 'urn:oid:1.2.752.29.4.' |
| 39 | + |
| 40 | +# DIGG specification |
| 41 | +# https://docs.swedenconnect.se/technical-framework/latest/ELN-0604_-_Attribute_Specification_for_the_Swedish_eID_Framework.html |
| 42 | +DIGG_OID = 'urn:oid:1.2.752.201.3.' |
| 43 | + |
35 | 44 | MAP = {
|
36 | 45 | 'identifier': 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
|
37 | 46 | 'fro': {
|
| 47 | + DIGG_OID + '1': 'orgAffiliation', |
| 48 | + DIGG_OID + '2': 'transactionIdentifier', |
| 49 | + DIGG_OID + '3': 'authContextParams', |
| 50 | + DIGG_OID + '4': 'prid', |
| 51 | + DIGG_OID + '5': 'pridPersistence', |
| 52 | + DIGG_OID + '6': 'personalIdentityNumberBinding', |
| 53 | + DIGG_OID + '7': 'eidasPersonIdentifier', |
| 54 | + DIGG_OID + '8': 'birthName', |
| 55 | + DIGG_OID + '9': 'eidasNaturalPersonAddress', |
| 56 | + DIGG_OID + '10': 'userCertificate', |
| 57 | + DIGG_OID + '11': 'userSignature', |
| 58 | + DIGG_OID + '12': 'sad', |
| 59 | + DIGG_OID + '13': 'authServerSignature', |
| 60 | + DIGG_OID + '14': 'signMessageDigest', |
38 | 61 | EIDAS_LEGALPERSON+'LegalPersonIdentifier': 'LegalPersonIdentifier',
|
39 | 62 | EIDAS_LEGALPERSON+'LegalPersonAddress': 'LegalAddress',
|
40 | 63 | EIDAS_LEGALPERSON+'LegalName': 'LegalName',
|
|
71 | 94 | EDUPERSON_OID+'12': 'eduPersonPrincipalNamePrior',
|
72 | 95 | EDUPERSON_OID+'13': 'eduPersonUniqueId',
|
73 | 96 | EDUPERSON_OID+'16': 'eduPersonOrcid',
|
| 97 | + INERA_OID + '1': 'employeeHsaId', |
| 98 | + INERA_OID + '13': 'personalIdentityNumber', |
74 | 99 | LDAPGVAT_OID+'1': 'PVP-GID',
|
75 | 100 | LDAPGVAT_OID+'149': 'PVP-BPK',
|
76 | 101 | LDAPGVAT_OID+'153': 'PVP-OU-OKZ',
|
|
237 | 262 | 'CurrentAddress': EIDAS_NATURALPERSON+'CurrentAddress',
|
238 | 263 | 'Gender': EIDAS_NATURALPERSON+'Gender',
|
239 | 264 | 'associatedDomain': UCL_DIR_PILOT+'37',
|
| 265 | + 'authContextParams': DIGG_OID+'3', |
240 | 266 | 'authorityRevocationList': X500ATTR_OID+'38',
|
| 267 | + 'authServerSignature': DIGG_OID+'13', |
| 268 | + 'birthName': DIGG_OID+'8', |
241 | 269 | 'businessCategory': X500ATTR_OID+'15',
|
242 | 270 | 'c': X500ATTR_OID+'6',
|
243 | 271 | 'cACertificate': X500ATTR_OID+'37',
|
|
271 | 299 | 'eduPersonAssurance': EDUPERSON_OID+'11',
|
272 | 300 | 'eduPersonUniqueId': EDUPERSON_OID+'13',
|
273 | 301 | 'eduPersonOrcid': EDUPERSON_OID+'16',
|
| 302 | + 'eidasNaturalPersonAddress': DIGG_OID+'9', |
| 303 | + 'eidasPersonIdentifier': DIGG_OID+'7', |
274 | 304 | 'email': PKCS_9+'1',
|
| 305 | + 'employeeHsaId': INERA_OID+'1', |
275 | 306 | 'employeeNumber': NETSCAPE_LDAP+'3',
|
276 | 307 | 'employeeType': NETSCAPE_LDAP+'4',
|
277 | 308 | 'enhancedSearchGuide': X500ATTR_OID+'47',
|
|
309 | 340 | 'osiOtherHomePhone': OPENOSI_OID+'109',
|
310 | 341 | 'osiWorkURL': OPENOSI_OID+'120',
|
311 | 342 | 'ou': X500ATTR_OID+'11',
|
| 343 | + 'orgAffiliation': DIGG_OID+'1', |
312 | 344 | 'owner': X500ATTR_OID+'32',
|
313 | 345 | 'pairwise-id': SAML_SUBJECT_ID+'pairwise-id',
|
| 346 | + 'personalIdentityNumber': INERA_OID+'13', |
| 347 | + 'personalIdentityNumberBinding': DIGG_OID+'6', |
314 | 348 | 'physicalDeliveryOfficeName': X500ATTR_OID+'19',
|
315 | 349 | 'postOfficeBox': X500ATTR_OID+'18',
|
316 | 350 | 'postalAddress': X500ATTR_OID+'16',
|
317 | 351 | 'postalCode': X500ATTR_OID+'17',
|
318 | 352 | 'preferredDeliveryMethod': X500ATTR_OID+'28',
|
319 | 353 | 'preferredLanguage': NETSCAPE_LDAP+'39',
|
320 | 354 | 'presentationAddress': X500ATTR_OID+'29',
|
| 355 | + 'prid': DIGG_OID+'4', |
| 356 | + 'pridPersistence': DIGG_OID+'5', |
321 | 357 | 'protocolInformation': X500ATTR_OID+'48',
|
322 | 358 | 'pseudonym': X500ATTR_OID+'65',
|
323 | 359 | 'PVP-USERID': LDAPGVAT_UCL_DIR_PILOT+'1',
|
|
341 | 377 | 'PVP-GIVENNAME': LDAPGVAT_X500ATTR_OID+'42',
|
342 | 378 | 'registeredAddress': X500ATTR_OID+'26',
|
343 | 379 | 'roleOccupant': X500ATTR_OID+'33',
|
| 380 | + 'sad': DIGG_OID+'12', |
344 | 381 | 'schacCountryOfCitizenship': SCHAC+'5',
|
345 | 382 | 'schacCountryOfResidence': SCHAC+'11',
|
346 | 383 | 'schacDateOfBirth': SCHAC+'3',
|
|
363 | 400 | 'schacUserStatus': SCHAC+'19',
|
364 | 401 | 'searchGuide': X500ATTR_OID+'14',
|
365 | 402 | 'serialNumber': X500ATTR_OID+'5',
|
| 403 | + 'signMessageDigest': DIGG_OID+'14', |
366 | 404 | 'sisLegalGuardianFor': SIS+'1',
|
367 | 405 | 'sisSchoolGrade': SIS+'2',
|
368 | 406 | 'sn': X500ATTR_OID+'4',
|
|
375 | 413 | 'teletexTerminalIdentifier': X500ATTR_OID+'22',
|
376 | 414 | 'telexNumber': X500ATTR_OID+'21',
|
377 | 415 | 'title': X500ATTR_OID+'12',
|
| 416 | + 'transactionIdentifier': DIGG_OID+'2', |
378 | 417 | 'uid': UCL_DIR_PILOT+'1',
|
379 | 418 | 'uniqueMember': X500ATTR_OID+'50',
|
380 | 419 | 'userCertificate': X500ATTR_OID+'36',
|
| 420 | + # 'userCertificate': DIGG_OID+'10', |
381 | 421 | 'userPKCS12': NETSCAPE_LDAP+'216',
|
382 | 422 | 'userSMIMECertificate': NETSCAPE_LDAP+'40',
|
| 423 | + 'userSignature': DIGG_OID+'11', |
383 | 424 | 'x121Address': X500ATTR_OID+'24',
|
384 | 425 | 'x500UniqueIdentifier': X500ATTR_OID+'45',
|
385 | 426 | 'swissEduPersonUniqueID': SWISSEDUPERSON_OID+'1',
|
|
0 commit comments