File: adfs_v1x.py

package info (click to toggle)
python-pysaml2 7.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 39,604 kB
  • sloc: xml: 388,184; python: 66,155; makefile: 148; sh: 80
file content (20 lines) | stat: -rw-r--r-- 879 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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",
    },
}