<commit_before><?xml version="1.0"?>

<!DOCTYPE web-app PUBLIC 
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<!--

 Copyright 2003-2007 The eFaps Team

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 Author:          tmo
 Revision:        $Rev$
 Last Changed:    $Date$
 Last Changed By: $Author$

-->

<web-app>
  <display-name>eFaps</display-name>
  <description>no description</description>

  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    <description>
      State saving method: "client" or "server" (= default)
      See JSF Specification 2.5.2
    </description>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
    <param-value>true</param-value>
    <description>
      This parameter tells MyFaces if javascript code should be allowed in the
      rendered HTML output.
      If javascript is allowed, command_link anchors will have javascript code
      that submits the corresponding form.
      If javascript is not allowed, the state saving info and nested parameters
      will be added as url parameters.
      Default: "true"
    </description>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
    <param-value>false</param-value>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
    <param-value>true</param-value>
    <description>
      If true, rendered HTML code will be formatted, so that it is "human readable".
      i.e. additional line separators and whitespace will be written, that do not
      influence the HTML code.
      Default: "true"
    </description>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
    <param-value>true</param-value>
    <description>
      If true, a javascript function will be rendered that is able to restore the
      former vertical scroll on every request. Convenient feature if you have pages
      with long lists and you do not want the browser page to always jump to the top
      if you trigger a link or button action that stays on the same page.
      Default: "false"
    </description>
  </context-param>

  <!-- filter used for basic authentication for WebDAV -->
  <filter>
    <filter-name>eFapsBasicAuthenticationFilter</filter-name>
    <filter-class>org.efaps.webapp.filter.BasicAuthenticationFilter</filter-class>
    <init-param>
      <param-name>application</param-name>
      <param-value>eFaps</param-value>
      <description>
        The value defines the JAAS application name. This is the name defined
        in the JAAS configuration file.
        The default value is 'eFaps'.
      </description>
    </init-param>
    <init-param>
      <param-name>title</param-name>
      <param-value>eFaps WebDAV</param-value>
      <description>
        Text which is displayed in the login dialog on the user client.
      </description>
    </init-param>
  </filter>

  <!-- filter used for form based authentication -->
  <filter>
    <filter-name>eFapsFormBasedAuthenticationFilter</filter-name>
    <filter-class>org.efaps.webapp.filter.FormBasedAuthenticationFilter</filter-class>
     <init-param>
      <param-name>application</param-name>
      <param-value>eFaps</param-value>
      <description>
        The value defines the JAAS application name. This is the name defined
        in the JAAS configuration file.
        The default value is 'eFaps'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlLoginPage</param-name>
      <param-value>/login.jsp</param-value>
      <description>
        URL to the login jsp. The URL must be defined without the servlet
        context name.
        The default value is 'login.jsp'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlLogin</param-name>
      <param-value>/login</param-value>
      <description>
        URL to the login request. The URL must be defined without the servlet
        context name.
        The default value is 'login'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlLogout</param-name>
      <param-value>/logout</param-value>
      <description>
        URL to the logout request. The URL must be defined without the servlet
        context name.
        The default value is 'logout'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlForward</param-name>
      <param-value>${COMMONURL}/Main.jsf</param-value>
      <description>
        The value defines the URL to which is forward if a login is correct.
        The default value is '${COMMONURL}/Main.jsf'.
      </description>
    </init-param>

    <init-param>
      <param-name>loginParamName</param-name>
      <param-value>name</param-value>
      <description>
        Defines the name of the name login parameter 
        The default value is 'name'.
      </description>
    </init-param>
    <init-param>
      <param-name>loginParamPassword</param-name>
      <param-value>password</param-value>
      <description>
        Defines the name of the password login parameter 
        The default value is 'password'.
      </description>
    </init-param><commit_msg>- remove not needed space<commit_after><?xml version="1.0"?>

<!DOCTYPE web-app PUBLIC 
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<!--

 Copyright 2003-2007 The eFaps Team

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 Author:          tmo
 Revision:        $Rev$
 Last Changed:    $Date$
 Last Changed By: $Author$

-->

<web-app>
  <display-name>eFaps</display-name>
  <description>no description</description>

  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    <description>
      State saving method: "client" or "server" (= default)
      See JSF Specification 2.5.2
    </description>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
    <param-value>true</param-value>
    <description>
      This parameter tells MyFaces if javascript code should be allowed in the
      rendered HTML output.
      If javascript is allowed, command_link anchors will have javascript code
      that submits the corresponding form.
      If javascript is not allowed, the state saving info and nested parameters
      will be added as url parameters.
      Default: "true"
    </description>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
    <param-value>false</param-value>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
    <param-value>true</param-value>
    <description>
      If true, rendered HTML code will be formatted, so that it is "human readable".
      i.e. additional line separators and whitespace will be written, that do not
      influence the HTML code.
      Default: "true"
    </description>
  </context-param>

  <context-param>
    <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
    <param-value>true</param-value>
    <description>
      If true, a javascript function will be rendered that is able to restore the
      former vertical scroll on every request. Convenient feature if you have pages
      with long lists and you do not want the browser page to always jump to the top
      if you trigger a link or button action that stays on the same page.
      Default: "false"
    </description>
  </context-param>

  <!-- filter used for basic authentication for WebDAV -->
  <filter>
    <filter-name>eFapsBasicAuthenticationFilter</filter-name>
    <filter-class>org.efaps.webapp.filter.BasicAuthenticationFilter</filter-class>
    <init-param>
      <param-name>application</param-name>
      <param-value>eFaps</param-value>
      <description>
        The value defines the JAAS application name. This is the name defined
        in the JAAS configuration file.
        The default value is 'eFaps'.
      </description>
    </init-param>
    <init-param>
      <param-name>title</param-name>
      <param-value>eFaps WebDAV</param-value>
      <description>
        Text which is displayed in the login dialog on the user client.
      </description>
    </init-param>
  </filter>

  <!-- filter used for form based authentication -->
  <filter>
    <filter-name>eFapsFormBasedAuthenticationFilter</filter-name>
    <filter-class>org.efaps.webapp.filter.FormBasedAuthenticationFilter</filter-class>
     <init-param>
      <param-name>application</param-name>
      <param-value>eFaps</param-value>
      <description>
        The value defines the JAAS application name. This is the name defined
        in the JAAS configuration file.
        The default value is 'eFaps'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlLoginPage</param-name>
      <param-value>/login.jsp</param-value>
      <description>
        URL to the login jsp. The URL must be defined without the servlet
        context name.
        The default value is 'login.jsp'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlLogin</param-name>
      <param-value>/login</param-value>
      <description>
        URL to the login request. The URL must be defined without the servlet
        context name.
        The default value is 'login'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlLogout</param-name>
      <param-value>/logout</param-value>
      <description>
        URL to the logout request. The URL must be defined without the servlet
        context name.
        The default value is 'logout'.
      </description>
    </init-param>
    <init-param>
      <param-name>urlForward</param-name>
      <param-value>${COMMONURL}/Main.jsf</param-value>
      <description>
        The value defines the URL to which is forward if a login is correct.
        The default value is '${COMMONURL}/Main.jsf'.
      </description>
    </init-param>
    <init-param>
      <param-name>loginParamName</param-name>
      <param-value>name</param-value>
      <description>
        Defines the name of the name login parameter 
        The default value is 'name'.
      </description>
    </init-param>
    <init-param>
      <param-name>loginParamPassword</param-name>
      <param-value>password</param-value>
      <description>
        Defines the name of the password login parameter 
        The default value is 'password'.
      </description>
    </init-param>
{'fraction_non_alphanumeric': 0.10467401520977528, 'fraction_numerical': 0.0035888233786208665, 'mean_word_length': 2.752484770759859, 'pattern_counts': {'":': 0, '<': 265, '<?xml version=': 2, '>': 265, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '4809132', 'n_tokens_mistral': 3447, 'n_tokens_neox': 3332, 'n_words': 1055}