Dies ist eine alte Version des Dokuments!


Ergänzende Transcoding Properties für häufiger genutzte Attribute

Die Datei dfnMisc.xml (Download) enthält neben den Transcoding Properties für eduPersonTargetedID auch solche für weitere, häufiger genutzte Attribute aus dem SCHAC-Schema (z.B. schacPersonalUniqueCode) sowie bwidmOrgId. Diese Datei kann im Verzeichnis ./conf/attributes abgelegt werden und muss dann in ./conf/attributes/default-rules.xml referenziert werden:

<import resource="dfnMisc.xml" />

Änderungs- und Ergänzungswünsche für diese Transcoding Properties sind jederzeit willkommen und können gerne an hotline@aai.dfn.de gerichtet werden. Der Aktuelle Stand ist im folgenden dokumentiert:

./conf/attributes/dfnMisc.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:util="http://www.springframework.org/schema/util"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:c="http://www.springframework.org/schema/c"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
                           http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
 
       default-init-method="initialize"
       default-destroy-method="destroy">
 
    <!-- diverse Attribute, die im Kontext der DFN-AAI weiterhin von Belang sind -->
 
    <bean parent="shibboleth.TranscodingRuleLoader">
    <constructor-arg>
    <list>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">eduPersonTargetedID</prop>
                    <prop key="transcoder">SAML2XMLObjectTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.5923.1.1.1.10</prop>
                    <prop key="displayName.de">Targeted ID (pseudonyme Kennung)</prop>
                    <prop key="displayName.en">Targeted ID (pseudonyous ID)</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacDateOfBirth</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.3</prop>
                    <prop key="displayName.de">Geburtsdatum</prop>
                    <prop key="displayName.en">Date of Birth</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacPlaceOfBirth</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.4</prop>
                    <prop key="displayName.de">Geburtsort</prop>
                    <prop key="displayName.en">Place of Birth</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacGender</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.2</prop>
                    <prop key="displayName.de">Geschlecht</prop>
                    <prop key="displayName.en">Gender</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacPersonalUniqueCode</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.14</prop>
                    <prop key="displayName.de">schacPersonalUniqueCode</prop>
                    <prop key="displayName.en">schacPersonalUniqueCode</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacHomeOrganization</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.9</prop>
                    <prop key="displayName.de">Heimateinrichtung (Domain Name)</prop>
                    <prop key="displayName.en">Home organization (Domain Name)</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacHomeOrganizationType</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.10</prop>
                    <prop key="displayName.de">Art der Heimateinrichtung</prop>
                    <prop key="displayName.en">Home organization type</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">schacUserStatus</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.25178.1.2.19</prop>
                    <prop key="displayName.de">schacUserStatus</prop>
                    <prop key="displayName.en">schacUserStatus</prop>
                </props>
            </property>
        </bean>
 
        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">bwidmOrgId</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">http://bwidm.de/bwidmOrgId</prop>
                    <prop key="displayName.de">bwIDM Org ID</prop>
                    <prop key="displayName.en">bwIDM Org ID</prop>
                </props>
            </property>
        </bean>
 
    </list>
    </constructor-arg>
    </bean>
 
</beans>
  • Zuletzt geändert: vor 4 Jahren