<commit_before><?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
		version="3.0" metadata-complete="true">
	
	<display-name>basic-application-webapp</display-name>
	
	<context-param>
		<param-name>contextClass</param-name>
		<param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value>
	</context-param>
	
	<context-param>
		<param-name>contextInitializerClasses</param-name>
		<param-value>fr.openwide.core.spring.config.ExtendedApplicationContextInitializer</param-value>
	</context-param>
	
	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>fr.openwide.core.basicapp.web.application.config.spring.BasicApplicationWebappConfig</param-value>
	</context-param>
	
	<session-config>
		<session-timeout>480</session-timeout>
		<tracking-mode>COOKIE</tracking-mode>
	</session-config>
	
	<listener>
		<!-- branchement de java.util.logging sur slf4j (permet de gérer les logs de jersey)  -->
		<listener-class>fr.openwide.core.commons.util.logging.SLF4JLoggingListener</listener-class>
	</listener>
	
	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
	
	<filter>
		<filter-name>log4jUrlFilter</filter-name>
		<filter-class>fr.openwide.core.wicket.servlet.filter.Log4jUrlFilter</filter-class>
	</filter>
	
	<filter>
		<filter-name>springSecurityFilterChain</filter-name>
		<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
	</filter>
	
	<filter>
		<filter-name>openEntityManagerInViewFilter</filter-name>
		<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
	</filter>
	
	<filter>
		<filter-name>BasicApplicationApplication</filter-name>
		<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
		<init-param>
			<param-name>applicationFactoryClassName</param-name>
			<param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value>
		</init-param>
		<init-param>
			<param-name>applicationBean</param-name>
			<param-value>BasicApplicationApplication</param-value>
		</init-param>
		<init-param>
			<param-name>filterPath</param-name>
			<param-value></param-value>
		</init-param>
	</filter>
	
	<filter-mapping>
		<filter-name>log4jUrlFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
	<filter-mapping>
		<filter-name>springSecurityFilterChain</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
	<filter-mapping>
		<filter-name>openEntityManagerInViewFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
	<filter-mapping>
		<filter-name>BasicApplicationApplication</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
</web-app><commit_msg>on ouvre la session avant de passer dans le filtre de Spring Security car on peut avoir besoin de la session dans le filtre<commit_after><?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
		version="3.0" metadata-complete="true">
	
	<display-name>basic-application-webapp</display-name>
	
	<context-param>
		<param-name>contextClass</param-name>
		<param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value>
	</context-param>
	
	<context-param>
		<param-name>contextInitializerClasses</param-name>
		<param-value>fr.openwide.core.spring.config.ExtendedApplicationContextInitializer</param-value>
	</context-param>
	
	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>fr.openwide.core.basicapp.web.application.config.spring.BasicApplicationWebappConfig</param-value>
	</context-param>
	
	<session-config>
		<session-timeout>480</session-timeout>
		<tracking-mode>COOKIE</tracking-mode>
	</session-config>
	
	<listener>
		<!-- branchement de java.util.logging sur slf4j (permet de gérer les logs de jersey)  -->
		<listener-class>fr.openwide.core.commons.util.logging.SLF4JLoggingListener</listener-class>
	</listener>
	
	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
	
	<filter>
		<filter-name>log4jUrlFilter</filter-name>
		<filter-class>fr.openwide.core.wicket.servlet.filter.Log4jUrlFilter</filter-class>
	</filter>
	
	<filter>
		<filter-name>openEntityManagerInViewFilter</filter-name>
		<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
	</filter>
	
	<filter>
		<filter-name>springSecurityFilterChain</filter-name>
		<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
	</filter>
	
	<filter>
		<filter-name>BasicApplicationApplication</filter-name>
		<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
		<init-param>
			<param-name>applicationFactoryClassName</param-name>
			<param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value>
		</init-param>
		<init-param>
			<param-name>applicationBean</param-name>
			<param-value>BasicApplicationApplication</param-value>
		</init-param>
		<init-param>
			<param-name>filterPath</param-name>
			<param-value></param-value>
		</init-param>
	</filter>
	
	<filter-mapping>
		<filter-name>log4jUrlFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
	<filter-mapping>
		<filter-name>openEntityManagerInViewFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
	<filter-mapping>
		<filter-name>springSecurityFilterChain</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
	<filter-mapping>
		<filter-name>BasicApplicationApplication</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	
</web-app>
{'fraction_non_alphanumeric': 0.16131169261344816, 'fraction_numerical': 0.006624710168930109, 'mean_word_length': 5.1, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 2, '>': 211, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, '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': '2145738', 'n_tokens_mistral': 2220, 'n_tokens_neox': 2038, 'n_words': 202}