431db536533854e75240f333b3147a4f8912e0c5
[shibboleth/sp.git] / configs / attribute-map.xml
1 <Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
3     <!-- First some useful eduPerson attributes that many sites might use. -->
4     
5     <Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName" id="eppn">
6         <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
7     </Attribute>
8     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" id="eppn">
9         <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
10     </Attribute>
11     
12     <Attribute name="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" id="affiliation">
13         <AttributeDecoder xsi:type="ScopedAttributeDecoder" caseSensitive="false"/>
14     </Attribute>
15     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" id="affiliation">
16         <AttributeDecoder xsi:type="ScopedAttributeDecoder" caseSensitive="false"/>
17     </Attribute>
18     
19     <Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation" id="unscoped-affiliation">
20         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
21     </Attribute>
22     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" id="unscoped-affiliation">
23         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
24     </Attribute>
25     
26     <Attribute name="urn:mace:dir:attribute-def:eduPersonEntitlement" id="entitlement"/>
27     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" id="entitlement"/>
28
29     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.11" id="assurance"/>
30     
31     <!-- A persistent id attribute that supports personalized anonymous access. -->
32     
33     <!-- First, the deprecated version, decoded as a scoped string: -->
34     <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="targeted-id">
35         <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
36         <!-- <AttributeDecoder xsi:type="NameIDFromScopedAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/> -->
37     </Attribute>
38     
39     <!-- Second, an alternate decoder that will turn the deprecated form into the newer form. -->
40     <!--
41     <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="persistent-id">
42         <AttributeDecoder xsi:type="NameIDFromScopedAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
43     </Attribute>
44     -->
45     
46     <!-- Third, the new version (note the OID-style name): -->
47     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="persistent-id">
48         <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
49     </Attribute>
50
51     <!-- Fourth, the SAML 2.0 NameID Format: -->
52     <Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="persistent-id">
53         <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
54     </Attribute>
55     
56     <!-- Some more eduPerson attributes, uncomment these to use them... -->
57     <!--
58     <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryAffiliation" id="primary-affiliation">
59         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
60     </Attribute>
61     <Attribute name="urn:mace:dir:attribute-def:eduPersonNickname" id="nickname"/>
62     <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryOrgUnitDN" id="primary-orgunit-dn"/>
63     <Attribute name="urn:mace:dir:attribute-def:eduPersonOrgUnitDN" id="orgunit-dn"/>
64     <Attribute name="urn:mace:dir:attribute-def:eduPersonOrgDN" id="org-dn"/>
65
66     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" id="primary-affiliation">
67         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
68     </Attribute>
69     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" id="nickname"/>
70     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" id="primary-orgunit-dn"/>
71     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" id="orgunit-dn"/>
72     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" id="org-dn"/>
73     -->
74
75     <!--Examples of LDAP-based attributes, uncomment to use these... -->
76     <!--
77     <Attribute name="urn:mace:dir:attribute-def:cn" id="cn"/>
78     <Attribute name="urn:mace:dir:attribute-def:sn" id="sn"/>
79     <Attribute name="urn:mace:dir:attribute-def:givenName" id="givenName"/>
80     <Attribute name="urn:mace:dir:attribute-def:mail" id="mail"/>
81     <Attribute name="urn:mace:dir:attribute-def:telephoneNumber" id="telephoneNumber"/>
82     <Attribute name="urn:mace:dir:attribute-def:title" id="title"/>
83     <Attribute name="urn:mace:dir:attribute-def:initials" id="initials"/>
84     <Attribute name="urn:mace:dir:attribute-def:description" id="description"/>
85     <Attribute name="urn:mace:dir:attribute-def:carLicense" id="carLicense"/>
86     <Attribute name="urn:mace:dir:attribute-def:departmentNumber" id="departmentNumber"/>
87     <Attribute name="urn:mace:dir:attribute-def:displayName" id="displayName"/>
88     <Attribute name="urn:mace:dir:attribute-def:employeeNumber" id="employeeNumber"/>
89     <Attribute name="urn:mace:dir:attribute-def:employeeType" id="employeeType"/>
90     <Attribute name="urn:mace:dir:attribute-def:preferredLanguage" id="preferredLanguage"/>
91     <Attribute name="urn:mace:dir:attribute-def:manager" id="manager"/>
92     <Attribute name="urn:mace:dir:attribute-def:seeAlso" id="seeAlso"/>
93     <Attribute name="urn:mace:dir:attribute-def:facsimileTelephoneNumber" id="facsimileTelephoneNumber"/>
94     <Attribute name="urn:mace:dir:attribute-def:street" id="street"/>
95     <Attribute name="urn:mace:dir:attribute-def:postOfficeBox" id="postOfficeBox"/>
96     <Attribute name="urn:mace:dir:attribute-def:postalCode" id="postalCode"/>
97     <Attribute name="urn:mace:dir:attribute-def:st" id="st"/>
98     <Attribute name="urn:mace:dir:attribute-def:l" id="l"/>
99     <Attribute name="urn:mace:dir:attribute-def:o" id="o"/>
100     <Attribute name="urn:mace:dir:attribute-def:ou" id="ou"/>
101     <Attribute name="urn:mace:dir:attribute-def:businessCategory" id="businessCategory"/>
102     <Attribute name="urn:mace:dir:attribute-def:physicalDeliveryOfficeName" id="physicalDeliveryOfficeName"/>
103
104     <Attribute name="urn:oid:2.5.4.3" id="cn"/>
105     <Attribute name="urn:oid:2.5.4.4" id="sn"/>
106     <Attribute name="urn:oid:2.5.4.42" id="givenName"/>
107     <Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
108     <Attribute name="urn:oid:2.5.4.20" id="telephoneNumber"/>
109     <Attribute name="urn:oid:2.5.4.12" id="title"/>
110     <Attribute name="urn:oid:2.5.4.43" id="initials"/>
111     <Attribute name="urn:oid:2.5.4.13" id="description"/>
112     <Attribute name="urn:oid:2.16.840.1.113730.3.1.1" id="carLicense"/>
113     <Attribute name="urn:oid:2.16.840.1.113730.3.1.2" id="departmentNumber"/>
114     <Attribute name="urn:oid:2.16.840.1.113730.3.1.241" id="displayName"/>
115     <Attribute name="urn:oid:1.2.840.113556.1.2.610" id="employeeNumber"/>
116     <Attribute name="urn:oid:1.2.840.113556.1.2.613" id="employeeType"/>
117     <Attribute name="urn:oid:2.16.840.1.113730.3.1.39" id="preferredLanguage"/>
118     <Attribute name="urn:oid:0.9.2342.19200300.100.1.10" id="manager"/>
119     <Attribute name="urn:oid:2.5.4.34" id="seeAlso"/>
120     <Attribute name="urn:oid:2.5.4.23" id="facsimileTelephoneNumber"/>
121     <Attribute name="urn:oid:2.5.4.9" id="street"/>
122     <Attribute name="urn:oid:2.5.4.18" id="postOfficeBox"/>
123     <Attribute name="urn:oid:2.5.4.17" id="postalCode"/>
124     <Attribute name="urn:oid:2.5.4.8" id="st"/>
125     <Attribute name="urn:oid:2.5.4.7" id="l"/>
126     <Attribute name="urn:oid:2.5.4.10" id="o"/>
127     <Attribute name="urn:oid:2.5.4.11" id="ou"/>
128     <Attribute name="urn:oid:2.5.4.15" id="businessCategory"/>
129     <Attribute name="urn:oid:2.5.4.19" id="physicalDeliveryOfficeName"/>
130     -->
131
132 </Attributes>