Files
deb-python-pysaml2/example/attributemaps/adfs_v1x.py

21 lines
882 B
Python

# See http://technet.microsoft.com/en-us/library/cc733065(v=ws.10).aspx
# and http://technet.microsoft.com/en-us/library/ee913589(v=ws.10).aspx
# for information regarding the default claim types supported by
# Microsoft ADFS v1.x.
MAP = {
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
"fro": {
'http://schemas.xmlsoap.org/claims/CommonName': 'commonName',
'http://schemas.xmlsoap.org/claims/EmailAddress': 'emailAddress',
'http://schemas.xmlsoap.org/claims/Group': 'group',
'http://schemas.xmlsoap.org/claims/UPN': 'upn',
},
"to": {
'commonName': 'http://schemas.xmlsoap.org/claims/CommonName',
'emailAddress': 'http://schemas.xmlsoap.org/claims/EmailAddress',
'group': 'http://schemas.xmlsoap.org/claims/Group',
'upn': 'http://schemas.xmlsoap.org/claims/UPN',
}
}