summaryrefslogtreecommitdiff
path: root/idp/templates/config/edupersontargetdid.xml.add
blob: 8601da6a6af56baa5131dfc34f3efaec05de57a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
    <AttributeDefinition xsi:type="SAML2NameID" id="eduPersonTargetedID"
                         nameIdFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
                         sourceAttributeID="computedId">
        <Dependency ref="ComputedId" />
        <AttributeEncoder xsi:type="SAML1XMLObject" name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" />
        <AttributeEncoder xsi:type="SAML2XMLObject" name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" friendlyName="eduPersonTargetedID" />
    </AttributeDefinition>


    <!--  The V3 IdP uses a new dedicated service for configuring NameID generation. The legacy V2 approach of encoding attributes into identifiers using attribute-resolver.xml and special attribute encoders that generate NameIdentifiers or NameIDs instead of Attributes is supported for compatibility purposes, but is deprecated and may be removed from a future version.-->
  <DataConnector id="ComputedId" xsi:type="ComputedId"
      generatedAttributeID="computedId"
      sourceAttributeID="%{idp.persistentId.sourceAttribute}"
      salt="%{idp.persistentId.salt}">
      <Dependency ref="myLDAP" />
  </DataConnector>