<commit_before><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-4.2.xsd
    http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.0.xsd">

	<http auto-config="false" use-expressions="true">
		<csrf disabled="true" />
		<intercept-url pattern="/medicaments/**" access="hasRole('ROLE_USER')" />
		<intercept-url pattern="/diseases/**" access="hasRole('ROLE_USER')" />
		<intercept-url pattern="/admin/**" access="hasRole('ROLE_ADMIN')" />
		<form-login login-page="/login" />
		<logout logout-url="/logout"/>
		<session-management><commit_msg>add access to patient to logged user<commit_after><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-4.2.xsd
    http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-4.0.xsd">

	<http auto-config="false" use-expressions="true">
		<csrf disabled="true" />
		<intercept-url pattern="/medicaments/**" access="hasRole('ROLE_USER')" />
		<intercept-url pattern="/diseases/**" access="hasRole('ROLE_USER')" />
		<intercept-url pattern="/patients/**" access="hasRole('ROLE_USER')" />
		<intercept-url pattern="/admin/**" access="hasRole('ROLE_ADMIN')" />
		<form-login login-page="/login" />
		<logout logout-url="/logout"/>
		<session-management>
{'fraction_non_alphanumeric': 0.1997780244173141, 'fraction_numerical': 0.009988901220865706, 'mean_word_length': 5.556363636363637, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 6}, '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': '2272408', 'n_tokens_mistral': 616, 'n_tokens_neox': 583, 'n_words': 62}