<commit_before><beans xmlns="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-2.5.xsd
                           http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
  <!--  
     Spring ApplicationContext configuration for HTML form-based authentication 
  -->
  
  <!-- Servlet-to-AW hooks -->
  <!-- create AwRequest from data in the HttpServletRequest -->
  <bean id="authenticationAwRequestCreator" class="edu.ucla.cens.awserver.jee.servlet.glue.AuthAwRequestCreator" />
  <!--  copy data from the AwRequest to the HttpServletRequest -->
  <bean id="authenticationHttpSessionModifier" class="edu.ucla.cens.awserver.jee.servlet.glue.AuthenticationHttpSessionModifier" />  
    
  <!-- Controller -->
  <bean id="authenticationController" class="edu.ucla.cens.awserver.controller.ControllerImpl">
    <constructor-arg index="0">
      <list>
        <ref bean="formBasedLoginUserNameValidator" />
        <ref bean="emptySubdomainValidator" />
      </list>
    </constructor-arg>
    <constructor-arg index="1">
      <list>
        <ref bean="authenticationService" />
      </list>
    </constructor-arg>
  </bean>
  
  <!-- Service the authentication request -->
  <bean id="authenticationService" class="edu.ucla.cens.awserver.service.AuthenticationService">
    <constructor-arg index="0">
      <ref bean="authenticationDao" />
    </constructor-arg>
    <constructor-arg index="1"><value>user not found</value></constructor-arg>
  </bean>

  <!-- Interact with database -->
  <bean id="authenticationDao" class="edu.ucla.cens.awserver.dao.AuthenticationDao">
    <constructor-arg index="0"><ref bean="dataSource" /></constructor-arg>
  </bean>

</beans><commit_msg>added constructor argument for AuthenticationService for a disabled user message<commit_after><beans xmlns="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-2.5.xsd
                           http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
  <!--  
     Spring ApplicationContext configuration for HTML form-based authentication 
  -->
  
  <!-- Servlet-to-AW hooks -->
  <!-- create AwRequest from data in the HttpServletRequest -->
  <bean id="authenticationAwRequestCreator" class="edu.ucla.cens.awserver.jee.servlet.glue.AuthAwRequestCreator" />
  <!--  copy data from the AwRequest to the HttpServletRequest -->
  <bean id="authenticationHttpSessionModifier" class="edu.ucla.cens.awserver.jee.servlet.glue.AuthenticationHttpSessionModifier" />  
    
  <!-- Controller -->
  <bean id="authenticationController" class="edu.ucla.cens.awserver.controller.ControllerImpl">
    <constructor-arg index="0">
      <list>
        <ref bean="formBasedLoginUserNameValidator" />
        <ref bean="emptySubdomainValidator" />
      </list>
    </constructor-arg>
    <constructor-arg index="1">
      <list>
        <ref bean="authenticationService" />
      </list>
    </constructor-arg>
  </bean>
  
  <!-- Service the authentication request -->
  <bean id="authenticationService" class="edu.ucla.cens.awserver.service.AuthenticationService">
    <constructor-arg index="0">
      <ref bean="authenticationDao" />
    </constructor-arg>
    <constructor-arg index="1"><value>user not found</value></constructor-arg>
    <constructor-arg index="2"><value>disabled user</value></constructor-arg>
  </bean>

  <!-- Interact with database -->
  <bean id="authenticationDao" class="edu.ucla.cens.awserver.dao.AuthenticationDao">
    <constructor-arg index="0"><ref bean="dataSource" /></constructor-arg>
  </bean>

</beans>
{'fraction_non_alphanumeric': 0.15413628363087756, 'fraction_numerical': 0.007291928589388987, 'mean_word_length': 3.5671641791044775, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 4}, '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': '5706162', 'n_tokens_mistral': 1178, 'n_tokens_neox': 1143, 'n_words': 185}