Guest User

web.xml

a guest
Apr 13th, 2017
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
  3. <web-app>
  4.    <display-name>Alfresco Web Client</display-name>
  5.    <description>Alfresco Web Client</description>
  6.    <context-param>
  7.       <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
  8.       <param-value>true</param-value>
  9.    </context-param>
  10.    <context-param>
  11.       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  12.       <param-value>server</param-value>
  13.    </context-param>
  14.    <context-param>
  15.       <param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
  16.       <param-value>false</param-value>
  17.    </context-param>
  18.    <context-param>
  19.       <param-name>javax.faces.CONFIG_FILES</param-name>
  20.       <param-value>/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,/WEB-INF/faces-config-wcm.xml,/WEB-INF/faces-config-custom.xml</param-value>
  21.    </context-param>
  22.    <context-param>
  23.       <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
  24.       <param-value>true</param-value>
  25.    </context-param>
  26.    <context-param>
  27.       <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
  28.       <param-value>false</param-value>
  29.       <description>This is an EXPERIMENTAL feature, so leave it off for now!</description>
  30.    </context-param>
  31.    <context-param>
  32.       <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
  33.       <param-value>false</param-value>
  34.       <description>Stop MyFaces from Serializing the state to the session</description>
  35.    </context-param>
  36.    <!-- TODO: Change this to false for production -->
  37.    <context-param>
  38.       <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
  39.       <param-value>true</param-value>
  40.       <description>If true, rendered HTML code will be formatted, so that it is "human readable".
  41.             i.e. additional line separators and whitespace will be written, that do not
  42.             influence the HTML code.
  43.             Default: "true"</description>
  44.    </context-param>
  45.    <context-param>
  46.       <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
  47.       <param-value>false</param-value>
  48.       <description>If true, a javascript function will be rendered that is able to restore the
  49.             former vertical scroll on every request. Convenient feature if you have pages
  50.             with long lists and you do not want the browser page to always jump to the top
  51.             if you trigger a link or button action that stays on the same page.
  52.             Default: "false"</description>
  53.    </context-param>
  54.    <!-- Spring Application Context location -->
  55.    <context-param>
  56.       <param-name>contextConfigLocation</param-name>
  57.       <param-value>/WEB-INF/web-application-context.xml</param-value>
  58.       <description>Spring config file location</description>
  59.    </context-param>
  60.    <context-param>
  61.       <param-name>log4jExposeWebAppRoot</param-name>
  62.       <param-value>false</param-value>
  63.       <description>Do not try to resolve web app root as file</description>
  64.    </context-param>
  65.    <!--  These were previously init params for the WebDAV servlet,
  66.           but since they are also needed to MT-enable the
  67.           ExternalAccess servlet, I have made them context wide. -->
  68.    <context-param>
  69.       <param-name>store</param-name>
  70.       <param-value>workspace://SpacesStore</param-value>
  71.    </context-param>
  72.    <context-param>
  73.       <param-name>rootPath</param-name>
  74.       <param-value>/app:company_home</param-value>
  75.    </context-param>
  76.    <context-param>
  77.       <param-name>org.apache.myfaces.ERROR_HANDLING</param-name>
  78.       <param-value>false</param-value>
  79.    </context-param>
  80.    <!-- Activiti context param placeholder -->
  81.    <filter>
  82.       <filter-name>CMIS security context cleaning filter</filter-name>
  83.       <description>Cleans security context before authentication via the CMIS services or filters. Mapped only for CMIS</description>
  84.       <filter-class>org.alfresco.web.app.servlet.CmisSecurityContextCleanerFilter</filter-class>
  85.    </filter>
  86.    <filter>
  87.       <filter-name>Authentication Filter</filter-name>
  88.       <description>Authentication filter mapped only to faces URLs. Other URLs generally use proprietary means to talk to the AuthenticationComponent</description>
  89.       <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
  90.       <init-param>
  91.          <param-name>beanName</param-name>
  92.          <param-value>AuthenticationFilter</param-value>
  93.       </init-param>
  94.    </filter>
  95.    <filter>
  96.       <filter-name>Global Authentication Filter</filter-name>
  97.       <description>Authentication filter mapped to all authenticated URLs. Mainly for SSO support</description>
  98.       <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
  99.       <init-param>
  100.          <param-name>beanName</param-name>
  101.          <param-value>GlobalAuthenticationFilter</param-value>
  102.       </init-param>
  103.    </filter>
  104.    <filter>
  105.       <filter-name>WebScript Authentication Filter</filter-name>
  106.       <description>Authentication filter mapped to web script URLs. Mainly for SSO support</description>
  107.       <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
  108.       <init-param>
  109.          <param-name>beanName</param-name>
  110.          <param-value>WebscriptAuthenticationFilter</param-value>
  111.       </init-param>
  112.    </filter>
  113.    <filter>
  114.       <filter-name>WebScript Cookie Authentication Filter</filter-name>
  115.       <description>Directly handles login script calls, allowing Surf to establish a cookie for a manual login</description>
  116.       <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
  117.       <init-param>
  118.          <param-name>beanName</param-name>
  119.          <param-value>WebscriptCookieAuthenticationFilter</param-value>
  120.       </init-param>
  121.    </filter>
  122.    <filter>
  123.       <filter-name>WebDAV Authentication Filter</filter-name>
  124.       <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
  125.       <init-param>
  126.          <param-name>beanName</param-name>
  127.          <param-value>WebDavAuthenticationFilter</param-value>
  128.       </init-param>
  129.    </filter>
  130.    <filter>
  131.       <filter-name>Admin Authentication Filter</filter-name>
  132.       <filter-class>org.alfresco.web.app.servlet.AdminAuthenticationFilter</filter-class>
  133.    </filter>
  134.    <filter>
  135.       <filter-name>CacheExpiresFilter</filter-name>
  136.       <description>Set HTTP cache Expires header 30 days forward for a mapping.</description>
  137.       <filter-class>org.alfresco.web.scripts.servlet.StaticAssetCacheFilter</filter-class>
  138.       <init-param>
  139.          <param-name>expires</param-name>
  140.          <param-value>30</param-value>
  141.          <description>Add an Expires Header 30 days forward</description>
  142.       </init-param>
  143.    </filter>
  144.    <filter>
  145.       <filter-name>Global Localization Filter</filter-name>
  146.       <description>Sets fallback default locale for ALL requests</description>
  147.       <filter-class>org.alfresco.web.app.servlet.GlobalLocalizationFilter</filter-class>
  148.    </filter>
  149.    <filter>
  150.       <filter-name>JSF Session Synchronized Filter</filter-name>
  151.       <filter-class>org.alfresco.repo.web.filter.beans.SessionSynchronizedFilter</filter-class>
  152.    </filter>
  153.    <filter-mapping>
  154.       <filter-name>Global Localization Filter</filter-name>
  155.       <url-pattern>/*</url-pattern>
  156.       <dispatcher>REQUEST</dispatcher>
  157.    </filter-mapping>
  158.    <filter-mapping>
  159.       <filter-name>CMIS security context cleaning filter</filter-name>
  160.       <url-pattern>/cmisws/*</url-pattern>
  161.    </filter-mapping>
  162.    <filter-mapping>
  163.       <filter-name>CMIS security context cleaning filter</filter-name>
  164.       <url-pattern>/cmisatom/*</url-pattern>
  165.    </filter-mapping>
  166.    <filter-mapping>
  167.       <filter-name>Global Authentication Filter</filter-name>
  168.       <url-pattern>/navigate/*</url-pattern>
  169.    </filter-mapping>
  170.    <filter-mapping>
  171.       <filter-name>Global Authentication Filter</filter-name>
  172.       <url-pattern>/command/*</url-pattern>
  173.    </filter-mapping>
  174.    <filter-mapping>
  175.       <filter-name>Global Authentication Filter</filter-name>
  176.       <url-pattern>/download/*</url-pattern>
  177.    </filter-mapping>
  178.    <filter-mapping>
  179.       <filter-name>Global Authentication Filter</filter-name>
  180.       <url-pattern>/template/*</url-pattern>
  181.    </filter-mapping>
  182.    <filter-mapping>
  183.       <filter-name>Global Authentication Filter</filter-name>
  184.       <url-pattern>/n/*</url-pattern>
  185.    </filter-mapping>
  186.    <filter-mapping>
  187.       <filter-name>Global Authentication Filter</filter-name>
  188.       <url-pattern>/c/*</url-pattern>
  189.    </filter-mapping>
  190.    <filter-mapping>
  191.       <filter-name>Global Authentication Filter</filter-name>
  192.       <url-pattern>/t/*</url-pattern>
  193.    </filter-mapping>
  194.    <filter-mapping>
  195.       <filter-name>Global Authentication Filter</filter-name>
  196.       <url-pattern>/d/*</url-pattern>
  197.    </filter-mapping>
  198.    <!-- Activiti Global Authentication Filter mapping placeholder -->
  199.    <!-- The Cookie WebScript Authentication filter sits in front of web service URLs in addition to the global authentication filter -->
  200.    <filter-mapping>
  201.       <filter-name>WebScript Cookie Authentication Filter</filter-name>
  202.       <url-pattern>/wcservice/*</url-pattern>
  203.    </filter-mapping>
  204.    <filter-mapping>
  205.       <filter-name>WebScript Cookie Authentication Filter</filter-name>
  206.       <url-pattern>/wcs/*</url-pattern>
  207.    </filter-mapping>
  208.    <!-- The WebScript Authentication filter sits in front of web service URLs in addition to the global authentication filter -->
  209.    <filter-mapping>
  210.       <filter-name>WebScript Authentication Filter</filter-name>
  211.       <url-pattern>/wcservice/*</url-pattern>
  212.    </filter-mapping>
  213.    <filter-mapping>
  214.       <filter-name>WebScript Authentication Filter</filter-name>
  215.       <url-pattern>/wcs/*</url-pattern>
  216.    </filter-mapping>
  217.    <filter-mapping>
  218.       <filter-name>Global Authentication Filter</filter-name>
  219.       <url-pattern>/wcservice/*</url-pattern>
  220.    </filter-mapping>
  221.    <filter-mapping>
  222.       <filter-name>Global Authentication Filter</filter-name>
  223.       <url-pattern>/wcs/*</url-pattern>
  224.    </filter-mapping>
  225.    <filter-mapping>
  226.       <filter-name>Global Authentication Filter</filter-name>
  227.       <url-pattern>/ajax/*</url-pattern>
  228.    </filter-mapping>
  229.    <filter-mapping>
  230.       <filter-name>Global Authentication Filter</filter-name>
  231.       <url-pattern>/faces/*</url-pattern>
  232.    </filter-mapping>
  233.    <filter-mapping>
  234.       <filter-name>Authentication Filter</filter-name>
  235.       <url-pattern>/faces/*</url-pattern>
  236.    </filter-mapping>
  237.    <filter-mapping>
  238.       <filter-name>WebDAV Authentication Filter</filter-name>
  239.       <url-pattern>/webdav/*</url-pattern>
  240.    </filter-mapping>
  241.    <filter-mapping>
  242.       <filter-name>Admin Authentication Filter</filter-name>
  243.       <url-pattern>/faces/jsp/admin/*</url-pattern>
  244.    </filter-mapping>
  245.    <filter-mapping>
  246.       <filter-name>Admin Authentication Filter</filter-name>
  247.       <url-pattern>/faces/jsp/categories/*</url-pattern>
  248.    </filter-mapping>
  249.    <filter-mapping>
  250.       <filter-name>Admin Authentication Filter</filter-name>
  251.       <url-pattern>/faces/jsp/groups/*</url-pattern>
  252.    </filter-mapping>
  253.    <filter-mapping>
  254.       <filter-name>Admin Authentication Filter</filter-name>
  255.       <url-pattern>/faces/jsp/users/delete-user.jsp</url-pattern>
  256.    </filter-mapping>
  257.    <filter-mapping>
  258.       <filter-name>Admin Authentication Filter</filter-name>
  259.       <url-pattern>/faces/jsp/users/users.jsp</url-pattern>
  260.    </filter-mapping>
  261.    <filter-mapping>
  262.       <filter-name>Admin Authentication Filter</filter-name>
  263.       <url-pattern>/faces/jsp/admin/system-info.jsp</url-pattern>
  264.    </filter-mapping>
  265.    <filter-mapping>
  266.       <filter-name>JSF Session Synchronized Filter</filter-name>
  267.       <url-pattern>/faces/*</url-pattern>
  268.    </filter-mapping>
  269.    <filter-mapping>
  270.       <filter-name>WebDAV Authentication Filter</filter-name>
  271.       <url-pattern>/cmisatom/*</url-pattern>
  272.    </filter-mapping>
  273.    <filter-mapping>
  274.       <filter-name>CacheExpiresFilter</filter-name>
  275.       <url-pattern>*.jpg</url-pattern>
  276.    </filter-mapping>
  277.    <filter-mapping>
  278.       <filter-name>CacheExpiresFilter</filter-name>
  279.       <url-pattern>*.png</url-pattern>
  280.    </filter-mapping>
  281.    <filter-mapping>
  282.       <filter-name>CacheExpiresFilter</filter-name>
  283.       <url-pattern>*.gif</url-pattern>
  284.    </filter-mapping>
  285.    <filter-mapping>
  286.       <filter-name>CacheExpiresFilter</filter-name>
  287.       <url-pattern>*.css</url-pattern>
  288.    </filter-mapping>
  289.    <filter-mapping>
  290.       <filter-name>CacheExpiresFilter</filter-name>
  291.       <url-pattern>*.js</url-pattern>
  292.    </filter-mapping>
  293.    <listener>
  294.       <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
  295.    </listener>
  296.    <listener>
  297.       <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
  298.    </listener>
  299.    <!-- Spring Context Loader listener - can disable loading of context if runtime config changes are needed -->
  300.    <listener>
  301.       <listener-class>org.alfresco.web.app.ContextLoaderListener</listener-class>
  302.    </listener>
  303.    <!-- Web Application Context listener - session create/destroy debugging and bootstrap Spring init -->
  304.    <listener>
  305.       <listener-class>org.alfresco.web.app.ContextListener</listener-class>
  306.    </listener>
  307.    <!-- WebDAV session listener - ensures that no locked resources is left after session expires -->
  308.    <listener>
  309.       <listener-class>org.alfresco.repo.webdav.WebDAVSessionListener</listener-class>
  310.    </listener>
  311.    <!-- Web Services context listener for OpenCMIS -->
  312.    <listener>
  313.       <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
  314.    </listener>
  315.    <!-- Activiti listener placeholder -->
  316.    <!-- Faces Servlet -->
  317.    <servlet>
  318.       <servlet-name>Faces Servlet</servlet-name>
  319.       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  320.       <load-on-startup>1</load-on-startup>
  321.    </servlet>
  322.    <servlet>
  323.       <servlet-name>uploadFile</servlet-name>
  324.       <servlet-class>org.alfresco.web.app.servlet.UploadFileServlet</servlet-class>
  325.    </servlet>
  326.    <servlet>
  327.       <servlet-name>uploadContent</servlet-name>
  328.       <servlet-class>org.alfresco.web.app.servlet.UploadContentServlet</servlet-class>
  329.    </servlet>
  330.    <servlet>
  331.       <servlet-name>downloadContent</servlet-name>
  332.       <servlet-class>org.alfresco.web.app.servlet.DownloadContentServlet</servlet-class>
  333.    </servlet>
  334.    <servlet>
  335.       <servlet-name>downloadRawContent</servlet-name>
  336.       <servlet-class>org.alfresco.web.app.servlet.DownloadRawContentServlet</servlet-class>
  337.    </servlet>
  338.    <servlet>
  339.       <servlet-name>guestDownloadContent</servlet-name>
  340.       <servlet-class>org.alfresco.web.app.servlet.GuestDownloadContentServlet</servlet-class>
  341.    </servlet>
  342.    <servlet>
  343.       <servlet-name>guestTemplateContent</servlet-name>
  344.       <servlet-class>org.alfresco.web.app.servlet.GuestTemplateContentServlet</servlet-class>
  345.    </servlet>
  346.    <servlet>
  347.       <servlet-name>externalAccess</servlet-name>
  348.       <servlet-class>org.alfresco.web.app.servlet.ExternalAccessServlet</servlet-class>
  349.    </servlet>
  350.    <servlet>
  351.       <servlet-name>templateContent</servlet-name>
  352.       <servlet-class>org.alfresco.web.app.servlet.TemplateContentServlet</servlet-class>
  353.    </servlet>
  354.    <servlet>
  355.       <servlet-name>commandServlet</servlet-name>
  356.       <servlet-class>org.alfresco.web.app.servlet.CommandServlet</servlet-class>
  357.    </servlet>
  358.    <servlet>
  359.       <servlet-name>ajaxServlet</servlet-name>
  360.       <servlet-class>org.alfresco.web.app.servlet.ajax.AjaxServlet</servlet-class>
  361.    </servlet>
  362.    <servlet>
  363.       <servlet-name>axis</servlet-name>
  364.       <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
  365.       <load-on-startup>5</load-on-startup>
  366.    </servlet>
  367.    <servlet>
  368.       <servlet-name>CXFServlet</servlet-name>
  369.       <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
  370.       <load-on-startup>6</load-on-startup>
  371.    </servlet>
  372.    <servlet>
  373.       <servlet-name>WebDAV</servlet-name>
  374.       <servlet-class>org.alfresco.repo.webdav.WebDAVServlet</servlet-class>
  375.       <load-on-startup>5</load-on-startup>
  376.    </servlet>
  377.    <servlet>
  378.       <servlet-name>apiServlet</servlet-name>
  379.       <servlet-class>org.springframework.extensions.webscripts.servlet.WebScriptServlet</servlet-class>
  380.       <init-param>
  381.          <param-name>authenticator</param-name>
  382.          <param-value>webscripts.authenticator.basic</param-value>
  383.       </init-param>
  384.    </servlet>
  385.    <servlet>
  386.       <servlet-name>wcapiServlet</servlet-name>
  387.       <servlet-class>org.springframework.extensions.webscripts.servlet.WebScriptServlet</servlet-class>
  388.       <init-param>
  389.          <param-name>authenticator</param-name>
  390.          <param-value>webscripts.authenticator.webclient</param-value>
  391.       </init-param>
  392.    </servlet>
  393.    <servlet>
  394.       <servlet-name>portalapiServlet</servlet-name>
  395.       <servlet-class>org.springframework.extensions.webscripts.servlet.WebScriptServlet</servlet-class>
  396.       <init-param>
  397.          <param-name>authenticator</param-name>
  398.          <param-value>webscripts.authenticator.webclient</param-value>
  399.       </init-param>
  400.    </servlet>
  401.    <servlet>
  402.       <servlet-name>facebookServlet</servlet-name>
  403.       <servlet-class>org.alfresco.repo.web.scripts.facebook.FacebookServlet</servlet-class>
  404.       <init-param>
  405.          <param-name>authenticator</param-name>
  406.          <param-value>webscripts.authenticator.facebook</param-value>
  407.       </init-param>
  408.    </servlet>
  409.    <servlet>
  410.       <servlet-name>fbapiServlet</servlet-name>
  411.       <servlet-class>org.alfresco.repo.web.scripts.facebook.FacebookAPIServlet</servlet-class>
  412.       <init-param>
  413.          <param-name>authenticator</param-name>
  414.          <param-value>webscripts.authenticator.facebook</param-value>
  415.       </init-param>
  416.    </servlet>
  417.    <servlet>
  418.       <servlet-name>workflowDefinitionImageServlet</servlet-name>
  419.       <servlet-class>org.alfresco.web.app.servlet.WorkflowDefinitionImageServlet</servlet-class>
  420.    </servlet>
  421.    <servlet>
  422.       <servlet-name>JBPMDeployProcessServlet</servlet-name>
  423.       <servlet-class>org.alfresco.web.app.servlet.JBPMDeployProcessServlet</servlet-class>
  424.    </servlet>
  425.    <!-- See comment on the servlet-mapping CMISFileShareServlet.
  426.   <servlet>
  427.      <servlet-name>CMISFileShareServlet</servlet-name>
  428.      <servlet-class>org.apache.chemistry.opencmis.browser.BrowseServlet</servlet-class>
  429.      <init-param>
  430.         <param-name>auxroot</param-name>
  431.         <param-value>cmisfs/browser/</param-value>
  432.      </init-param>
  433.      <init-param>
  434.         <param-name>allow</param-name>
  435.         <param-value>http.*</param-value>
  436.      </init-param>
  437.      <init-param>
  438.         <param-name>stylesheet:application/atomsvc+xml</param-name>
  439.         <param-value>/cmisfs/stylesheets/service.xsl</param-value>
  440.      </init-param>
  441.      <init-param>
  442.         <param-name>stylesheet:application/atom+xml;type=feed</param-name>
  443.         <param-value>/cmisfs/stylesheets/feed.xsl</param-value>
  444.      </init-param>
  445.      <init-param>
  446.         <param-name>stylesheet:application/cmistree+xml</param-name>
  447.         <param-value>/cmisfs/stylesheets/feed.xsl</param-value>
  448.      </init-param>
  449.      <init-param>
  450.         <param-name>stylesheet:application/atom+xml;type=entry</param-name>
  451.         <param-value>/cmisfs/stylesheets/entry.xsl</param-value>
  452.      </init-param>
  453.      <init-param>
  454.         <param-name>stylesheet:application/cmisallowableactions+xml</param-name>
  455.         <param-value>/cmisfs/stylesheets/actions.xsl</param-value>
  456.      </init-param>
  457.      <init-param>
  458.         <param-name>stylesheet:application/cmisacl+xml</param-name>
  459.         <param-value>/cmisfs/stylesheets/acl.xsl</param-value>
  460.      </init-param>
  461.      <init-param>
  462.         <param-name>override-stylesheet:renditions</param-name>
  463.         <param-value>/cmisfs/stylesheets/renditions.xsl</param-value>
  464.      </init-param>
  465.      <init-param>
  466.         <param-name>override-stylesheet:relationships</param-name>
  467.         <param-value>/cmisfs/stylesheets/relationships.xsl</param-value>
  468.      </init-param>
  469.      <init-param>
  470.         <param-name>override-stylesheet:thumbnails</param-name>
  471.         <param-value>/cmisfs/stylesheets/thumbnails.xsl</param-value>
  472.      </init-param>
  473.   </servlet>
  474.   -->
  475.    <servlet>
  476.       <servlet-name>cmisws10</servlet-name>
  477.       <servlet-class>org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet</servlet-class>
  478.       <init-param>
  479.          <param-name>cmisVersion</param-name>
  480.          <param-value>1.0</param-value>
  481.       </init-param>
  482.       <load-on-startup>7</load-on-startup>
  483.    </servlet>
  484.    <servlet>
  485.       <servlet-name>cmisws11</servlet-name>
  486.       <servlet-class>org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet</servlet-class>
  487.       <init-param>
  488.          <param-name>cmisVersion</param-name>
  489.          <param-value>1.1</param-value>
  490.       </init-param>
  491.       <load-on-startup>7</load-on-startup>
  492.    </servlet>
  493.    <servlet>
  494.       <servlet-name>cmisatom10</servlet-name>
  495.       <servlet-class>org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet</servlet-class>
  496.       <init-param>
  497.          <param-name>callContextHandler</param-name>
  498.          <param-value>org.apache.chemistry.opencmis.server.shared.BasicAuthCallContextHandler</param-value>
  499.       </init-param>
  500.       <init-param>
  501.          <param-name>cmisVersion</param-name>
  502.          <param-value>1.0</param-value>
  503.       </init-param>
  504.       <load-on-startup>8</load-on-startup>
  505.    </servlet>
  506.    <servlet>
  507.       <servlet-name>cmisbrowser</servlet-name>
  508.       <servlet-class>org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet</servlet-class>
  509.       <init-param>
  510.          <param-name>callContextHandler</param-name>
  511.          <param-value>org.apache.chemistry.opencmis.server.shared.BasicAuthCallContextHandler</param-value>
  512.       </init-param>
  513.       <load-on-startup>8</load-on-startup>
  514.    </servlet>
  515.    <servlet>
  516.       <servlet-name>cmistck</servlet-name>
  517.       <servlet-class>org.apache.chemistry.opencmis.tck.runner.WebRunnerServlet</servlet-class>
  518.       <load-on-startup>8</load-on-startup>
  519.    </servlet>
  520.    <servlet>
  521.       <servlet-name>authenticatorServlet</servlet-name>
  522.       <servlet-class>org.alfresco.repo.web.scripts.servlet.AuthenticatorServlet</servlet-class>
  523.    </servlet>
  524.    <servlet>
  525.       <servlet-name>publicapiServlet</servlet-name>
  526.       <servlet-class>org.alfresco.rest.api.PublicApiWebScriptServlet</servlet-class>
  527.       <init-param>
  528.          <param-name>authenticator</param-name>
  529.          <param-value>publicapi.authenticator</param-value>
  530.       </init-param>
  531.    </servlet>
  532.    <!-- Activiti servlet placeholder -->
  533.    <servlet-mapping>
  534.       <servlet-name>Faces Servlet</servlet-name>
  535.       <url-pattern>/faces/*</url-pattern>
  536.    </servlet-mapping>
  537.    <servlet-mapping>
  538.       <servlet-name>uploadFile</servlet-name>
  539.       <url-pattern>/uploadFileServlet</url-pattern>
  540.    </servlet-mapping>
  541.    <servlet-mapping>
  542.       <servlet-name>uploadContent</servlet-name>
  543.       <url-pattern>/upload/*</url-pattern>
  544.    </servlet-mapping>
  545.    <servlet-mapping>
  546.       <servlet-name>downloadContent</servlet-name>
  547.       <url-pattern>/download/*</url-pattern>
  548.    </servlet-mapping>
  549.    <servlet-mapping>
  550.       <servlet-name>downloadContent</servlet-name>
  551.       <url-pattern>/d/*</url-pattern>
  552.    </servlet-mapping>
  553.    <servlet-mapping>
  554.       <servlet-name>downloadRawContent</servlet-name>
  555.       <url-pattern>/dr</url-pattern>
  556.    </servlet-mapping>
  557.    <servlet-mapping>
  558.       <servlet-name>guestDownloadContent</servlet-name>
  559.       <url-pattern>/guestDownload/*</url-pattern>
  560.    </servlet-mapping>
  561.    <servlet-mapping>
  562.       <servlet-name>guestDownloadContent</servlet-name>
  563.       <url-pattern>/gd/*</url-pattern>
  564.    </servlet-mapping>
  565.    <servlet-mapping>
  566.       <servlet-name>templateContent</servlet-name>
  567.       <url-pattern>/template/*</url-pattern>
  568.    </servlet-mapping>
  569.    <servlet-mapping>
  570.       <servlet-name>templateContent</servlet-name>
  571.       <url-pattern>/t/*</url-pattern>
  572.    </servlet-mapping>
  573.    <servlet-mapping>
  574.       <servlet-name>guestTemplateContent</servlet-name>
  575.       <url-pattern>/guestTemplate/*</url-pattern>
  576.    </servlet-mapping>
  577.    <servlet-mapping>
  578.       <servlet-name>guestTemplateContent</servlet-name>
  579.       <url-pattern>/gt/*</url-pattern>
  580.    </servlet-mapping>
  581.    <servlet-mapping>
  582.       <servlet-name>externalAccess</servlet-name>
  583.       <url-pattern>/navigate/*</url-pattern>
  584.    </servlet-mapping>
  585.    <servlet-mapping>
  586.       <servlet-name>externalAccess</servlet-name>
  587.       <url-pattern>/n/*</url-pattern>
  588.    </servlet-mapping>
  589.    <servlet-mapping>
  590.       <servlet-name>commandServlet</servlet-name>
  591.       <url-pattern>/command/*</url-pattern>
  592.    </servlet-mapping>
  593.    <servlet-mapping>
  594.       <servlet-name>commandServlet</servlet-name>
  595.       <url-pattern>/c/*</url-pattern>
  596.    </servlet-mapping>
  597.    <servlet-mapping>
  598.       <servlet-name>ajaxServlet</servlet-name>
  599.       <url-pattern>/ajax/*</url-pattern>
  600.    </servlet-mapping>
  601.    <servlet-mapping>
  602.       <servlet-name>axis</servlet-name>
  603.       <url-pattern>/soapapi/*</url-pattern>
  604.    </servlet-mapping>
  605.    <servlet-mapping>
  606.       <servlet-name>CXFServlet</servlet-name>
  607.       <url-pattern>/cmis/*</url-pattern>
  608.    </servlet-mapping>
  609.    <servlet-mapping>
  610.       <servlet-name>WebDAV</servlet-name>
  611.       <url-pattern>/webdav/*</url-pattern>
  612.    </servlet-mapping>
  613.    <servlet-mapping>
  614.       <servlet-name>apiServlet</servlet-name>
  615.       <url-pattern>/service/*</url-pattern>
  616.    </servlet-mapping>
  617.    <servlet-mapping>
  618.       <servlet-name>apiServlet</servlet-name>
  619.       <url-pattern>/s/*</url-pattern>
  620.    </servlet-mapping>
  621.    <servlet-mapping>
  622.       <servlet-name>wcapiServlet</servlet-name>
  623.       <url-pattern>/wcservice/*</url-pattern>
  624.    </servlet-mapping>
  625.    <servlet-mapping>
  626.       <servlet-name>wcapiServlet</servlet-name>
  627.       <url-pattern>/wcs/*</url-pattern>
  628.    </servlet-mapping>
  629.    <servlet-mapping>
  630.       <servlet-name>portalapiServlet</servlet-name>
  631.       <url-pattern>/168service/*</url-pattern>
  632.    </servlet-mapping>
  633.    <servlet-mapping>
  634.       <servlet-name>portalapiServlet</servlet-name>
  635.       <url-pattern>/168s/*</url-pattern>
  636.    </servlet-mapping>
  637.    <servlet-mapping>
  638.       <servlet-name>facebookServlet</servlet-name>
  639.       <url-pattern>/facebook/*</url-pattern>
  640.    </servlet-mapping>
  641.    <servlet-mapping>
  642.       <servlet-name>facebookServlet</servlet-name>
  643.       <url-pattern>/fb/*</url-pattern>
  644.    </servlet-mapping>
  645.    <servlet-mapping>
  646.       <servlet-name>fbapiServlet</servlet-name>
  647.       <url-pattern>/fbservice/*</url-pattern>
  648.    </servlet-mapping>
  649.    <servlet-mapping>
  650.       <servlet-name>fbapiServlet</servlet-name>
  651.       <url-pattern>/fbs/*</url-pattern>
  652.    </servlet-mapping>
  653.    <servlet-mapping>
  654.       <servlet-name>JBPMDeployProcessServlet</servlet-name>
  655.       <url-pattern>/jbpm/deployprocess</url-pattern>
  656.    </servlet-mapping>
  657.    <servlet-mapping>
  658.       <servlet-name>workflowDefinitionImageServlet</servlet-name>
  659.       <url-pattern>/workflowdefinitionimage/*</url-pattern>
  660.    </servlet-mapping>
  661.    <!-- The cmisbrowser endpoint is provided by the Chemistry project.
  662.        If you uncomment this section you need to make sure for security
  663.         reasons that that you have a firewall set up so that it is not
  664.         accessible from outside of the organisation.
  665.   <servlet-mapping>
  666.      <servlet-name>CMISFileShareServlet</servlet-name>
  667.      <url-pattern>/cmisbrowser</url-pattern>
  668.   </servlet-mapping>
  669.   -->
  670.    <servlet-mapping>
  671.       <servlet-name>cmisws10</servlet-name>
  672.       <url-pattern>/cmisws/*</url-pattern>
  673.    </servlet-mapping>
  674.    <servlet-mapping>
  675.       <servlet-name>cmisatom10</servlet-name>
  676.       <url-pattern>/cmisatom/*</url-pattern>
  677.    </servlet-mapping>
  678.    <servlet-mapping>
  679.       <servlet-name>cmisbrowser</servlet-name>
  680.       <url-pattern>/cmisbrowser/*</url-pattern>
  681.    </servlet-mapping>
  682.    <servlet-mapping>
  683.       <servlet-name>publicapiServlet</servlet-name>
  684.       <url-pattern>/api/*</url-pattern>
  685.    </servlet-mapping>
  686.    <!-- The CMIS TCK is deactivated by default. -->
  687.    <!-- CMISTCK
  688.   <servlet-mapping>
  689.      <servlet-name>cmistck</servlet-name>
  690.      <url-pattern>/cmistck</url-pattern>
  691.   </servlet-mapping>
  692.   CMISTCK -->
  693.    <!-- Activiti servlet mapping placeholder -->
  694.    <session-config>
  695.       <session-timeout>60</session-timeout>
  696.    </session-config>
  697.    <welcome-file-list>
  698.       <welcome-file>index.jsp</welcome-file>
  699.    </welcome-file-list>
  700.    <error-page>
  701.       <exception-type>java.lang.Exception</exception-type>
  702.       <location>/jsp/error.jsp</location>
  703.    </error-page>
  704.    <resource-ref>
  705.       <description>The Alfresco database connection</description>
  706.       <res-ref-name>jdbc/dataSource</res-ref-name>
  707.       <res-type>javax.sql.DataSource</res-type>
  708.       <res-auth>Container</res-auth>
  709.       <res-sharing-scope>Unshareable</res-sharing-scope>
  710.    </resource-ref>
  711.    <!-- Toggle securecomms placeholder start -->
  712.    <security-constraint>
  713.       <web-resource-collection>
  714.          <web-resource-name>SOLR</web-resource-name>
  715.          <url-pattern>/service/api/solr/*</url-pattern>
  716.       </web-resource-collection>
  717.       <auth-constraint>
  718.          <role-name>repoclient</role-name>
  719.       </auth-constraint>
  720.       <user-data-constraint>
  721.          <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  722.       </user-data-constraint>
  723.    </security-constraint>
  724.    <security-constraint>
  725.       <web-resource-collection>
  726.          <web-resource-name>SOLR</web-resource-name>
  727.          <url-pattern>/s/api/solr/*</url-pattern>
  728.       </web-resource-collection>
  729.       <auth-constraint>
  730.          <role-name>repoclient</role-name>
  731.       </auth-constraint>
  732.       <user-data-constraint>
  733.          <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  734.       </user-data-constraint>
  735.    </security-constraint>
  736.    <security-constraint>
  737.       <web-resource-collection>
  738.          <web-resource-name>SOLR</web-resource-name>
  739.          <url-pattern>/wcservice/api/solr/*</url-pattern>
  740.       </web-resource-collection>
  741.       <auth-constraint>
  742.          <role-name>repoclient</role-name>
  743.       </auth-constraint>
  744.       <user-data-constraint>
  745.          <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  746.       </user-data-constraint>
  747.    </security-constraint>
  748.    <security-constraint>
  749.       <web-resource-collection>
  750.          <web-resource-name>SOLR</web-resource-name>
  751.          <url-pattern>/wcs/api/solr/*</url-pattern>
  752.       </web-resource-collection>
  753.       <auth-constraint>
  754.          <role-name>repoclient</role-name>
  755.       </auth-constraint>
  756.       <user-data-constraint>
  757.          <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  758.       </user-data-constraint>
  759.    </security-constraint>
  760.    <login-config>
  761.       <auth-method>CLIENT-CERT</auth-method>
  762.       <realm-name>Repository</realm-name>
  763.    </login-config>
  764.    <security-role>
  765.       <role-name>repoclient</role-name>
  766.    </security-role>
  767.    <!-- Toggle securecomms placeholder end -->
  768.    <env-entry>
  769.       <description>A flag that globally enables or disables startup of the major Alfresco subsystems.</description>
  770.       <env-entry-name>properties/startup.enable</env-entry-name>
  771.       <env-entry-value>true</env-entry-value>
  772.       <env-entry-type>java.lang.Boolean</env-entry-type>
  773.    </env-entry>
  774.    <env-entry>
  775.       <description>The filesystem directory below which content and index data is stored. Should be on a shared disk
  776.          if this is a clustered installation.</description>
  777.       <env-entry-name>properties/dir.root</env-entry-name>
  778.       <env-entry-value />
  779.       <!-- Empty value included for JBoss compatibility -->
  780.       <env-entry-type>java.lang.String</env-entry-type>
  781.    </env-entry>
  782.    <env-entry>
  783.       <description>The fully qualified name of a org.hibernate.dialect.Dialect subclass that allows Hibernate to
  784.          generate SQL optimized for a particular relational database. Choose from org.hibernate.dialect.DerbyDialect,
  785.          org.hibernate.dialect.MySQLInnoDBDialect,
  786.          org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect,
  787.          org.alfresco.repo.domain.hibernate.dialect.AlfrescoSybaseAnywhereDialect,
  788.          org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect, org.hibernate.dialect.PostgreSQLDialect</description>
  789.       <env-entry-name>properties/hibernate.dialect</env-entry-name>
  790.       <env-entry-value />
  791.       <!-- Empty value included for JBoss compatibility -->
  792.       <env-entry-type>java.lang.String</env-entry-type>
  793.    </env-entry>
  794.    <env-entry>
  795.       <description>Mapping from tokens in Hibernate queries to SQL tokens. For PostgreSQL, set this to "true
  796.          TRUE, false FALSE".</description>
  797.       <env-entry-name>properties/hibernate.query.substitutions</env-entry-name>
  798.       <env-entry-value />
  799.       <!-- Empty value included for JBoss compatibility -->
  800.       <env-entry-type>java.lang.String</env-entry-type>
  801.    </env-entry>
  802.    <env-entry>
  803.       <description>Enable use of JDBC3 PreparedStatement.getGeneratedKeys() to retrieve natively generated keys
  804.          after insert. Requires JDBC3+ driver. Set to false if your driver has problems with the Hibernate identifier
  805.          generators. By default, tries to determine the driver capabilities using connection metadata.</description>
  806.       <env-entry-name>properties/hibernate.jdbc.use_get_generated_keys</env-entry-name>
  807.       <env-entry-value />
  808.       <!-- Empty value included for JBoss compatibility -->
  809.       <env-entry-type>java.lang.String</env-entry-type>
  810.    </env-entry>
  811.    <env-entry>
  812.       <description>Qualify unqualified table names with the given schema/tablespace in generated SQL. It may be
  813.          necessary to set this when the target database has more than one schema.</description>
  814.       <env-entry-name>properties/hibernate.default_schema</env-entry-name>
  815.       <env-entry-value />
  816.       <!-- Empty value included for JBoss compatibility -->
  817.       <env-entry-type>java.lang.String</env-entry-type>
  818.    </env-entry>
  819.    <taglib>
  820.       <taglib-uri>http://alfresco.com/alfresco</taglib-uri>
  821.       <taglib-location>/WEB-INF/alfresco.tld</taglib-location>
  822.    </taglib>
  823.    <taglib>
  824.       <taglib-uri>http://alfresco.com/wcm</taglib-uri>
  825.       <taglib-location>/WEB-INF/wcm.tld</taglib-location>
  826.    </taglib>
  827.    <filter>
  828.       <filter-name>CORS</filter-name>
  829.       <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
  830.    </filter>
  831.    <filter-mapping>
  832.       <filter-name>CORS</filter-name>
  833.       <url-pattern>/*</url-pattern>
  834.    </filter-mapping>
  835.    <filter>
  836.       <filter-name>ExpiresFilter</filter-name>
  837.       <filter-class>org.apache.catalina.filters.ExpiresFilter</filter-class>
  838.       <init-param>
  839.          <param-name>ExpiresDefault</param-name>
  840.          <param-value>access plus 1 month</param-value>
  841.       </init-param>
  842.       <init-param>
  843.          <param-name>ExpiresByType image</param-name>
  844.          <param-value>access plus 365 days</param-value>
  845.       </init-param>
  846.       <init-param>
  847.          <param-name>ExpiresByType application/pdf</param-name>
  848.          <param-value>access plus 365 days</param-value>
  849.       </init-param>
  850.    </filter>
  851.    <filter-mapping>
  852.       <filter-name>ExpiresFilter</filter-name>
  853.       <url-pattern>/*</url-pattern>
  854.       <dispatcher>REQUEST</dispatcher>
  855.    </filter-mapping>
  856. </web-app>
RAW Paste Data