<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans 
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:security="http://www.springframework.org/schema/security"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:context="http://www.springframework.org/schema/context"
	
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       	   http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
    	   http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
           http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
           ">
		
    <security:http>
        <security:intercept-url pattern="/*" access="ROLE_USER,ROLE_ADMIN" />        
        <security:form-login />
        <security:anonymous />
        <security:http-basic />
        <security:logout />
        <security:remember-me />
    </security:http>     
        
    <security:authentication-manager alias="myAuthManager">
        <security:authentication-provider>
            <!--security:jdbc-user-service data-source-ref="dataSource" /-->
            <security:user-service>
                <security:user name="admin" password="<PASSWORD>" authorities="ROLE_USER,ROLE_ADMIN" />
                <security:user name="user" password="<PASSWORD>" authorities="ROLE_USER" />
            </security:user-service>
        </security:authentication-provider>
    </security:authentication-manager>
		    
    <security:global-method-security secured-annotations="enabled" jsr250-annotations="enabled"/>
  
    <bean class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>
  
</beans><commit_msg>poprawka w ustawieniach security - poprzednia wersja chroniła dostęp do /* zamiast /**<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans 
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:security="http://www.springframework.org/schema/security"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:context="http://www.springframework.org/schema/context"
	
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       	   http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
    	   http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
           http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
           ">
		
    <security:http>
        <security:intercept-url pattern="/**" access="ROLE_USER,ROLE_ADMIN" />        
        <security:form-login />
        <security:anonymous />
        <security:http-basic />
        <security:logout />
        <security:remember-me />
    </security:http>     
        
    <security:authentication-manager alias="myAuthManager">
        <security:authentication-provider>
            <!--security:jdbc-user-service data-source-ref="dataSource" /-->
            <security:user-service>
                <security:user name="admin" password="<PASSWORD>" authorities="ROLE_USER,ROLE_ADMIN" />
                <security:user name="user" password="<PASSWORD>" authorities="ROLE_USER" />
            </security:user-service>
        </security:authentication-provider>
    </security:authentication-manager>
		    
    <security:global-method-security secured-annotations="enabled" jsr250-annotations="enabled"/>
  
    <bean class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>
  
</beans>
{'fraction_non_alphanumeric': 0.15706928838951312, 'fraction_numerical': 0.009831460674157303, 'mean_word_length': 3.316161616161616, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 2, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 32, 'xml': 14}, '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': '6083624', 'n_tokens_mistral': 1303, 'n_tokens_neox': 1259, 'n_words': 115}