<?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">

    <!-- https://doku.tid.dfn.de/de:elearning_attributes -->

    <bean parent="shibboleth.TranscodingRuleLoader">
    <constructor-arg>
    <list>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonCostCenter</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.1</prop>
                    <prop key="displayName.de">Kostenstelle</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonStudyBranch1</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.2</prop>
                    <prop key="displayName.de">Studienfach (Fächergruppe)</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonStudyBranch2</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.3</prop>
                    <prop key="displayName.de">Studienfach (Bereich)</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonStudyBranch3</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.4</prop>
                    <prop key="displayName.de">Studienfach</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonFieldOfStudyString</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.5</prop>
                    <prop key="displayName.de">Bezeichnung des Studienfachs</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonFinalDegree</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.6</prop>
                    <prop key="displayName.de">Studienabschluss</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonTypeOfStudy</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.7</prop>
                    <prop key="displayName.de">Art des Studiums</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonTermsOfStudy</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.8</prop>
                    <prop key="displayName.de">Fach und Fachsemester</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonBranchAndDegree</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.9</prop>
                    <prop key="displayName.de">Studienfächer und Abschlüsse</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonBranchAndType</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.10</prop>
                    <prop key="displayName.de">Studienfach und Studienfachart</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonFeaturesOfStudy</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.11</prop>
                    <prop key="displayName.de">Gesamtstudiumsinformation</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonLastIdCheck</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.12</prop>
                    <prop key="displayName.de">Zeitpunkt der letzten Identitätsprüfung</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonVerifiedMobile</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.13</prop>
                    <prop key="displayName.de">Verifizierte Mobilfunknummer</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonPkiIntegrity</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.14</prop>
                    <prop key="displayName.de">Integritätsschutz</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonLibraryPatronId</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.15</prop>
                    <prop key="displayName.de">Nutzerkennung im Bibliothekssystem</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonLibraryUsergroup</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.16</prop>
                    <prop key="displayName.de">Nutzergruppe im Bibliothekssystem</prop>
                </props>
            </property>
        </bean>

        <bean parent="shibboleth.TranscodingProperties">
            <property name="properties">
                <props merge="true">
                    <prop key="id">dfnEduPersonLibraryHomebranch</prop>
                    <prop key="transcoder">SAML2StringTranscoder</prop>
                    <prop key="saml2.name">urn:oid:1.3.6.1.4.1.22177.400.1.1.3.17</prop>
                    <prop key="displayName.de">Bibliothek - Heimatzweigstelle</prop>
                </props>
            </property>
        </bean>

    </list>
    </constructor-arg>
    </bean>
    
</beans>
