Fixed attribute-based functors.
[shibboleth/sp.git] / configs / attribute-map.xml.in
index c683112..e47d1b5 100644 (file)
@@ -4,10 +4,10 @@
 
        <!-- First some useful eduPerson attributes that many sites might use. -->
        
-       <Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName" id="REMOTE_USER">
+       <Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName" id="eppn">
                <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
        </Attribute>
-       <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" id="REMOTE_USER">
+       <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" id="eppn">
                <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
        </Attribute>
        
        <!-- A persistent id attribute that supports personalized anonymous access. -->
        
        <!-- First, the deprecated version: -->
-       <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="REMOTE_USER">
+       <Attribute name="urn:mace:dir:attribute-def:eduPersonTargetedID" id="targeted-id">
                <AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
        </Attribute>
 
        <!-- Second, the new version (note the OID-style name): -->
-       <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="REMOTE_USER">
+       <Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="persistent-id">
                <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$Name!!$NameQualifier!!$SPNameQualifier"/>
        </Attribute>
 
        <!-- Third, the SAML 2.0 NameID Format: -->
-       <Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="REMOTE_USER">
+       <Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="persistent-id">
                <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$Name!!$NameQualifier!!$SPNameQualifier"/>
        </Attribute>