|
| 1 | +# See http://technet.microsoft.com/en-us/library/ee913589(v=ws.10).aspx |
| 2 | +# for information regarding the default claim types supported by |
| 3 | +# Microsoft ADFS v2.0. |
| 4 | + |
| 5 | +MAP = { |
| 6 | + "identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified", |
| 7 | + "fro": { |
| 8 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress': 'emailAddress', |
| 9 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname': 'givenName', |
| 10 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': 'name', |
| 11 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn': 'upn', |
| 12 | + 'http://schemas.xmlsoap.org/claims/commonname': 'commonName', |
| 13 | + 'http://schemas.xmlsoap.org/claims/group': 'group', |
| 14 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role': 'role', |
| 15 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname': 'surname', |
| 16 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier': 'privatePersonalId', |
| 17 | + 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier': 'nameId', |
| 18 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod': 'authenticationMethod', |
| 19 | + 'http://schemas.xmlsoap.com/ws/2005/05/identity/claims/denyonlysid': 'denyOnlySid', |
| 20 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid': 'denyOnlyPrimarySid', |
| 21 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid': 'denyOnlyPrimaryGroupSid', |
| 22 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid': 'groupSid', |
| 23 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid': 'primaryGroupSid', |
| 24 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid': 'primarySid', |
| 25 | + 'http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname': 'windowsAccountName', |
| 26 | + }, |
| 27 | + "to": { |
| 28 | + 'emailAddress': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress', |
| 29 | + 'givenName': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname', |
| 30 | + 'name': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name', |
| 31 | + 'upn': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn', |
| 32 | + 'commonName': 'http://schemas.xmlsoap.org/claims/commonname', |
| 33 | + 'group': 'http://schemas.xmlsoap.org/claims/group', |
| 34 | + 'role': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role', |
| 35 | + 'surname': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname', |
| 36 | + 'privatePersonalId': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier', |
| 37 | + 'nameId': 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier', |
| 38 | + 'authenticationMethod': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod', |
| 39 | + 'denyOnlySid': 'http://schemas.xmlsoap.com/ws/2005/05/identity/claims/denyonlysid', |
| 40 | + 'denyOnlyPrimarySid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid', |
| 41 | + 'denyOnlyPrimaryGroupSid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid', |
| 42 | + 'groupSid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid', |
| 43 | + 'primaryGroupSid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid', |
| 44 | + 'primarySid': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid', |
| 45 | + 'windowsAccountName': 'http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname', |
| 46 | + } |
| 47 | +} |
0 commit comments