<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
	xmlns:beans="http://www.springframework.org/schema/beans" 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/security
		http://www.springframework.org/schema/security/spring-security.xsd">

	<http>
		<intercept-url pattern="/users**" access="hasRole('ROLE_USER')" />
		<intercept-url pattern="/users/**" access="hasRole('ROLE_USER')" />
		<form-login login-page="/login.html" />
		<logout logout-url="/logout"/>
		<csrf disabled="true"/>
		
	</http>

	<authentication-manager>
		<authentication-provider>
			<user-service>
				<user name="admin" password="<PASSWORD>" authorities="ROLE_USER, ROLE_ADMIN" />
			</user-service>
		</authentication-provider>
	</authentication-manager>

</beans:beans><commit_msg>adding spring security expressions<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
	xmlns:beans="http://www.springframework.org/schema/beans" 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/security
		http://www.springframework.org/schema/security/spring-security.xsd">

	<http use-expressions="true">
		<intercept-url pattern="/users**" access="hasRole('ROLE_ADMIN')" />
		<intercept-url pattern="/users/**" access="hasRole('ROLE_ADMIN')" />
		<form-login login-page="/login.html" />
		<logout logout-url="/logout"/>
		<csrf disabled="true"/>
		
	</http>

	<authentication-manager>
		<authentication-provider>
			<user-service>
				<user name="admin" password="<PASSWORD>" authorities="ROLE_USER, ROLE_ADMIN" />
			</user-service>
		</authentication-provider>
	</authentication-manager>

</beans:beans>
{'fraction_non_alphanumeric': 0.1912621359223301, 'fraction_numerical': 0.009708737864077669, 'mean_word_length': 5.207831325301205, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 2, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 8}, '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': '4820754', 'n_tokens_mistral': 733, 'n_tokens_neox': 676, 'n_words': 77}