Fix backslashes in SHIBSP_PREFIX variable by manually creating it during the script...
[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     <!-- A persistent id attribute that supports personalized anonymous access. -->
30     
31     <!-- First, the deprecated version: -->
32     <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="targeted-id">
33         <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
34     </Attribute>
35
36     <!-- Second, the new version (note the OID-style name): -->
37     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="persistent-id">
38         <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name"/>
39     </Attribute>
40
41     <!-- Third, the SAML 2.0 NameID Format: -->
42     <Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="persistent-id">
43         <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name"/>
44     </Attribute>
45     
46     <!-- Some more eduPerson attributes, uncomment these to use them... -->
47     <!--
48     <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryAffiliation" id="primary-affiliation">
49         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
50     </Attribute>
51     <Attribute name="urn:mace:dir:attribute-def:eduPersonNickname" id="nickname"/>
52     <Attribute name="urn:mace:dir:attribute-def:eduPersonPrimaryOrgUnitDN" id="primary-orgunit-dn"/>
53     <Attribute name="urn:mace:dir:attribute-def:eduPersonOrgUnitDN" id="orgunit-dn"/>
54     <Attribute name="urn:mace:dir:attribute-def:eduPersonOrgDN" id="org-dn"/>
55
56     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" id="primary-affiliation">
57         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
58     </Attribute>
59     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" id="nickname"/>
60     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" id="primary-orgunit-dn"/>
61     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" id="orgunit-dn"/>
62     <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" id="org-dn"/>
63     -->
64
65     <!--Examples of LDAP-based attributes, uncomment to use these... -->
66     <!--
67     <Attribute name="urn:mace:dir:attribute-def:cn" id="cn"/>
68     <Attribute name="urn:mace:dir:attribute-def:sn" id="sn"/>
69     <Attribute name="urn:mace:dir:attribute-def:givenName" id="givenName"/>
70     <Attribute name="urn:mace:dir:attribute-def:mail" id="mail"/>
71     <Attribute name="urn:mace:dir:attribute-def:telephoneNumber" id="telephoneNumber"/>
72     <Attribute name="urn:mace:dir:attribute-def:title" id="title"/>
73     <Attribute name="urn:mace:dir:attribute-def:initials" id="initials"/>
74     <Attribute name="urn:mace:dir:attribute-def:description" id="description"/>
75     <Attribute name="urn:mace:dir:attribute-def:carLicense" id="carLicense"/>
76     <Attribute name="urn:mace:dir:attribute-def:departmentNumber" id="departmentNumber"/>
77     <Attribute name="urn:mace:dir:attribute-def:displayName" id="displayName"/>
78     <Attribute name="urn:mace:dir:attribute-def:employeeNumber" id="employeeNumber"/>
79     <Attribute name="urn:mace:dir:attribute-def:employeeType" id="employeeType"/>
80     <Attribute name="urn:mace:dir:attribute-def:preferredLanguage" id="preferredLanguage"/>
81     <Attribute name="urn:mace:dir:attribute-def:manager" id="manager"/>
82     <Attribute name="urn:mace:dir:attribute-def:seeAlso" id="seeAlso"/>
83     <Attribute name="urn:mace:dir:attribute-def:facsimileTelephoneNumber" id="facsimileTelephoneNumber"/>
84     <Attribute name="urn:mace:dir:attribute-def:street" id="street"/>
85     <Attribute name="urn:mace:dir:attribute-def:postOfficeBox" id="postOfficeBox"/>
86     <Attribute name="urn:mace:dir:attribute-def:postalCode" id="postalCode"/>
87     <Attribute name="urn:mace:dir:attribute-def:st" id="st"/>
88     <Attribute name="urn:mace:dir:attribute-def:l" id="l"/>
89     <Attribute name="urn:mace:dir:attribute-def:o" id="o"/>
90     <Attribute name="urn:mace:dir:attribute-def:ou" id="ou"/>
91     <Attribute name="urn:mace:dir:attribute-def:businessCategory" id="businessCategory"/>
92     <Attribute name="urn:mace:dir:attribute-def:physicalDeliveryOfficeName" id="physicalDeliveryOfficeName"/>
93
94     <Attribute name="urn:oid:2.5.4.3" id="cn"/>
95     <Attribute name="urn:oid:2.5.4.4" id="sn"/>
96     <Attribute name="urn:oid:2.5.4.42" id="givenName"/>
97     <Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
98     <Attribute name="urn:oid:2.5.4.20" id="telephoneNumber"/>
99     <Attribute name="urn:oid:2.5.4.12" id="title"/>
100     <Attribute name="urn:oid:2.5.4.43" id="initials"/>
101     <Attribute name="urn:oid:2.5.4.13" id="description"/>
102     <Attribute name="urn:oid:2.16.840.1.113730.3.1.1" id="carLicense"/>
103     <Attribute name="urn:oid:2.16.840.1.113730.3.1.2" id="departmentNumber"/>
104     <Attribute name="urn:oid:2.16.840.1.113730.3.1.241" id="displayName"/>
105     <Attribute name="urn:oid:1.2.840.113556.1.2.610" id="employeeNumber"/>
106     <Attribute name="urn:oid:1.2.840.113556.1.2.613" id="employeeType"/>
107     <Attribute name="urn:oid:2.16.840.1.113730.3.1.39" id="preferredLanguage"/>
108     <Attribute name="urn:oid:0.9.2342.19200300.100.1.10" id="manager"/>
109     <Attribute name="urn:oid:2.5.4.34" id="seeAlso"/>
110     <Attribute name="urn:oid:2.5.4.23" id="facsimileTelephoneNumber"/>
111     <Attribute name="urn:oid:2.5.4.9" id="street"/>
112     <Attribute name="urn:oid:2.5.4.18" id="postOfficeBox"/>
113     <Attribute name="urn:oid:2.5.4.17" id="postalCode"/>
114     <Attribute name="urn:oid:2.5.4.8" id="st"/>
115     <Attribute name="urn:oid:2.5.4.7" id="l"/>
116     <Attribute name="urn:oid:2.5.4.10" id="o"/>
117     <Attribute name="urn:oid:2.5.4.11" id="ou"/>
118     <Attribute name="urn:oid:2.5.4.15" id="businessCategory"/>
119     <Attribute name="urn:oid:2.5.4.19" id="physicalDeliveryOfficeName"/>
120     -->
121
122 </Attributes>