<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:beans="http://www.springframework.org/schema/beans"
             xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
    <!-- use versionless XSD: http://stackoverflow.com/questions/20894695/spring-configuration-xml-schema-with-or-without-version -->

    <global-method-security secured-annotations="enabled" />

    <http auto-config="true" create-session="never" realm="Labs64 NetLicensing Gateway" request-matcher="regex" use-expressions="false">
        <http-basic />
        <csrf disabled="true"/>
        <!-- The most specific patterns should come first, as they are tried in order -->
        <intercept-url pattern="\A/mycommerce/codegen.*\Z" access="ROLE_VENDOR" />
    </http>

    <beans:bean id="forwardAuthenticationProvider"
                class="com.labs64.netlicensing.gateway.util.ForwardAuthenticationProvider">
    </beans:bean>

    <authentication-manager erase-credentials="false">
        <authentication-provider ref="forwardAuthenticationProvider" />
    </authentication-manager>

</beans:beans><commit_msg>remove specific entry in the global spring-security configuration #11<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:beans="http://www.springframework.org/schema/beans"
             xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
    <!-- use versionless XSD: http://stackoverflow.com/questions/20894695/spring-configuration-xml-schema-with-or-without-version -->

    <global-method-security secured-annotations="enabled" />

    <http auto-config="true" create-session="never" realm="Labs64 NetLicensing Gateway" request-matcher="regex" use-expressions="false">
        <http-basic />
        <csrf disabled="true"/>
    </http>

    <beans:bean id="forwardAuthenticationProvider"
                class="com.labs64.netlicensing.gateway.util.ForwardAuthenticationProvider">
    </beans:bean>

    <authentication-manager erase-credentials="false">
        <authentication-provider ref="forwardAuthenticationProvider" />
    </authentication-manager>

</beans:beans>
{'fraction_non_alphanumeric': 0.14929679047962496, 'fraction_numerical': 0.015146051208077894, 'mean_word_length': 3.782758620689655, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 2, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 10}, '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': '4878352', 'n_tokens_mistral': 802, 'n_tokens_neox': 758, 'n_words': 101}