<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
    Common beans for this channel.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
    default-lazy-init="true"
    xmlns:c="http://www.springframework.org/schema/c"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:util="http://www.springframework.org/schema/util"
    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-3.0.xsd
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">
    
    <!--
        Location of various resources.
    -->
    <bean id="fr_renater_productionAggregate_url" class="java.lang.String">
        <constructor-arg value="https://services-federation.renater.fr/metadata/renater-metadata.xml"/>
    </bean>
    <bean id="fr_renater_edugainAggregate_url" class="java.lang.String">
        <constructor-arg value="https://fedregistry.renater.fr/edugain/edugain-metadata.xml"/>
    </bean>
    <bean id="fr_renater_testAggregate_url" class="java.lang.String">
        <constructor-arg value="https://services-federation.renater.fr/metadata/renater-test-metadata.xml"/>
    </bean>
    
    <!--
        Fetch the production aggregate.
    -->
    <bean id="fr_renater_productionAggregate" parent="DomResourceSourceStage"
        p:id="fr_renater_productionAggregate">
        <property name="domResource">
            <bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
                <constructor-arg name="client" ref="httpClient"/>
                <constructor-arg name="url" ref="fr_renater_productionAggregate_url"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Fetch the eduGAIN export aggregate.
    -->
    <bean id="fr_renater_edugainAggregate" parent="DomResourceSourceStage"
        p:id="fr_renater_edugainAggregate">
        <property name="domResource">
            <bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
                <constructor-arg name="client" ref="httpClient"/>
                <constructor-arg name="url" ref="fr_renater_edugainAggregate_url"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Fetch the test aggregate.
    -->
    <bean id="fr_renater_testAggregate" parent="DomResourceSourceStage"
        p:id="fr_renater_testAggregate">
        <property name="domResource">
            <bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
                <constructor-arg name="client" ref="httpClient"/>
                <constructor-arg name="url" ref="fr_renater_testAggregate_url"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Signing certificate.
    -->
    <bean id="fr_renater_signingCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean">
        <property name="certificateFile">
            <bean class="java.io.File">
                <constructor-arg value="#{ systemProperties['basedir'] }/mdx/fr_renater/metadata-federation-renater.crt"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Check signing signature.
    -->
    <bean id="fr_renater_checkSignature" parent="stage_parent"
        class="net.shibboleth.metadata.dom.XMLSignatureValidationStage"
        p:id="fr_renater_checkSignature">
        <property name="verificationCertificate" ref="fr_renater_signingCertificate"/>
    </bean>
    
    <!--
        eduGAIN signing certificate.
    -->
    <bean id="fr_renater_edugainSigningCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean">
        <property name="certificateFile">
            <bean class="java.io.File">
                <constructor-arg value="#{ systemProperties['basedir'] }/mdx/fr_renater/renater-federation-metadata.crt"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Check eduGAIN signing signature.
    -->
    <bean id="fr_renater_edugainCheckSignature" parent="stage_parent"
        class="net.shibboleth.metadata.dom.XMLSignatureValidationStage"
        p:id="fr_renater_edugainCheckSignature">
        <property name="verificationCertificate" ref="fr_renater_edugainSigningCertificate"/>
    </bean>
    
    <!--
        fr_renater_registrar
        
        Unique ID for the registrar associated with this channel.
    -->
    <bean id="fr_renater_registrar" class="java.lang.String">
        <constructor-arg value="https://federation.renater.fr/gestion"/>
    </bean>
    
    <!--
        fr_renater_check_regauth
        
        Any registrationAuthority already present on an entity in this
        channel must match the known registration authority value.
    -->
    <bean id="fr_renater_check_regauth" parent="check_regauth_parent"
        p:id="fr_renater_check_regauth">
        <property name="transformParameters">
            <map>
                <entry key="expectedAuthority" value-ref="fr_renater_registrar"/>
            </map>
        </property>
    </bean>
    
    <!--
        fr_renater_default_regauth
        
        Provide a default registrationAuthority appropriate to
        this channel.
    --><commit_msg>Updates to fr_renater channel for eduGAIN.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
    Common beans for this channel.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
    default-lazy-init="true"
    xmlns:c="http://www.springframework.org/schema/c"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:util="http://www.springframework.org/schema/util"
    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-3.0.xsd
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">
    
    <!--
        Location of various resources.
    -->
    <bean id="fr_renater_productionAggregate_url" class="java.lang.String">
        <constructor-arg value="https://services-federation.renater.fr/metadata/renater-metadata.xml"/>
    </bean>
    <bean id="fr_renater_edugainAggregate_url" class="java.lang.String">
        <constructor-arg value="https://federation.renater.fr/edugain_upstream/edugain-metadata.xml"/>
    </bean>
    <bean id="fr_renater_testAggregate_url" class="java.lang.String">
        <constructor-arg value="https://services-federation.renater.fr/metadata/renater-test-metadata.xml"/>
    </bean>
    
    <!--
        Fetch the production aggregate.
    -->
    <bean id="fr_renater_productionAggregate" parent="DomResourceSourceStage"
        p:id="fr_renater_productionAggregate">
        <property name="domResource">
            <bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
                <constructor-arg name="client" ref="httpClient"/>
                <constructor-arg name="url" ref="fr_renater_productionAggregate_url"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Fetch the eduGAIN export aggregate.
    -->
    <bean id="fr_renater_edugainAggregate" parent="DomResourceSourceStage"
        p:id="fr_renater_edugainAggregate">
        <property name="domResource">
            <bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
                <constructor-arg name="client" ref="httpClient"/>
                <constructor-arg name="url" ref="fr_renater_edugainAggregate_url"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Fetch the test aggregate.
    -->
    <bean id="fr_renater_testAggregate" parent="DomResourceSourceStage"
        p:id="fr_renater_testAggregate">
        <property name="domResource">
            <bean class="net.shibboleth.utilities.java.support.httpclient.HttpResource">
                <constructor-arg name="client" ref="httpClient"/>
                <constructor-arg name="url" ref="fr_renater_testAggregate_url"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Signing certificate.
    -->
    <bean id="fr_renater_signingCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean">
        <property name="certificateFile">
            <bean class="java.io.File">
                <constructor-arg value="#{ systemProperties['basedir'] }/mdx/fr_renater/metadata-federation-renater.crt"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Check signing signature.
    -->
    <bean id="fr_renater_checkSignature" parent="stage_parent"
        class="net.shibboleth.metadata.dom.XMLSignatureValidationStage"
        p:id="fr_renater_checkSignature">
        <property name="verificationCertificate" ref="fr_renater_signingCertificate"/>
    </bean>
    
    <!--
        eduGAIN signing certificate.
    -->
    <bean id="fr_renater_edugainSigningCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean">
        <property name="certificateFile">
            <bean class="java.io.File">
                <constructor-arg value="#{ systemProperties['basedir'] }/mdx/fr_renater/renater-federation-metadata.crt"/>
            </bean>
        </property>
    </bean>
    
    <!--
        Check eduGAIN signing signature.
    -->
    <bean id="fr_renater_edugainCheckSignature" parent="stage_parent"
        class="net.shibboleth.metadata.dom.XMLSignatureValidationStage"
        p:id="fr_renater_edugainCheckSignature">
        <property name="verificationCertificate" ref="fr_renater_edugainSigningCertificate"/>
    </bean>
    
    <!--
        fr_renater_registrar
        
        Unique ID for the registrar associated with this channel.
    -->
    <bean id="fr_renater_registrar" class="java.lang.String">
        <constructor-arg value="https://federation.renater.fr/"/>
    </bean>
    
    <!--
        fr_renater_check_regauth
        
        Any registrationAuthority already present on an entity in this
        channel must match the known registration authority value.
    -->
    <bean id="fr_renater_check_regauth" parent="check_regauth_parent"
        p:id="fr_renater_check_regauth">
        <property name="transformParameters">
            <map>
                <entry key="expectedAuthority" value-ref="fr_renater_registrar"/>
            </map>
        </property>
    </bean>
    
    <!--
        fr_renater_default_regauth
        
        Provide a default registrationAuthority appropriate to
        this channel.
    -->
{'fraction_non_alphanumeric': 0.1332020997375328, 'fraction_numerical': 0.003374578177727784, 'mean_word_length': 2.6701066391468866, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 2, '>': 157, 'https://': 8, 'lorem ipsum': 0, 'www.': 18, 'xml': 18}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '738508', 'n_tokens_mistral': 3199, 'n_tokens_neox': 3163, 'n_words': 445}